2012-05-11 83 views
0

有了這些命令行:xperf拒絕加載任何符號

組_NT_SYMBOL_PATH = SRV * C:\ *符號的http://msdl.microsoft.com/downloads/symbols XPerf -on FILE_IO XPerf -d trace.etl xPerf -symbols詳細-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:Minimum接受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. 

我在做什麼錯?

回答

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 

合併命令不僅合併多個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.