0

これらのコマンド ラインを使用すると、次のようになります。

set _NT_SYMBOL_PATH=srv*C:\symbols*http://msdl.microsoft.com/downloads/symbols XPerf -on FILE_IO XPerf -d trace.etl XPerf -symbols verbose -i trace.etl > output.csv

次の出力が得られます。

XPerf: 警告: トレース処理のアクセス制限を適用しています xperf: 使用するシンボル パス: srv*C:\symbols*http://msdl.microsoft.com/downloads/symbols xperf: 使用する実行可能パス: srv*C:\symbols* http://msdl.microsoft.com/downloads/symbols xperf: SymCache の使用 パス: \SymCache xperf: SymCache エンジンのバージョン: v1.1 xperf: SymCache の最小許容バージョン: v1.1

xperf: 受け入れられる SymCache の最小バージョン: v1.1 [1/2] 100.0% [2/2] 100.0%

            Warning: This trace does not contain the information needed to perform proper symbol decoding.
            It was most likely stopped improperly. Please consult the documentation for information on how
            to stop trace sessions (for example XPerf -stop <logger names> -d <merged.etl>)

            If you still have access to the machine on which this trace was collected, you can have XPerf
            add the required symbol information by running the following on that machine:

                    XPerf -merge <trace1.etl> <trace2.etl> ... <merged.etl>

            Running this command on any machine other than the one on which the trace was collected will
            result in incorrect symbol decoding.

私は何を間違っていますか?

4

1 に答える 1

0
XPerf -merge trace.etl trace_with_correct_symbol_decoding_info.etl

これで、元のコマンドで trace_with_correct_symbol_decoding_info.etl を解析できます。

XPerf -symbols verbose -i trace_with_correct_symbol_decoding_info.etl > output.csv

merge コマンドは、複数の etl ファイルをマージするだけでなく、「安全なシンボルのデコードに必要な画像識別情報を追加」します。

D:\>xperf -help merge
    Trace merge options:

    xperf -merge trace1.etl trace2.etl ... merged.etl

        -Merge      trace1.etl trace2.etl ... merged.etl Merge trace1.etl trace2.etl ... into
                                     merged.etl, also adding image identification
                                     information required for safe symbol
                                     decoding.
于 2012-05-27T03:10:23.583 に答える