简体   繁体   中英

Windows Performance Analyzer cannot load symbols

I open.etl(produced by xperf) file with WPA, I can see the information about Analysis: 在此处输入图像描述

I also want to see the process stack, and I think I should load symbols first. But the Load Symbols in Trace is grayed out: 在此处输入图像描述

I want to ask how to load symbols to see the process stack?

WPA version: 10.0.19041.685(WinBuild.160101.0800)

OS version: Windows Server 2019 Datacenter

OS build: 17763.1637

To be able to load debug symbols, it is required to have the PDB names + a GUID that is generated during linking.

This information is not included, so all ETW tools add KernelTraceControl/DbgID_RSDS events to ETL files at stop in a merge step. When using xperf, you have to call -d at stop ( xperf -d result.etl ).

To verify that the required event is included, open the ETL in Perfview in look in events:

在此处输入图像描述

If you can't find the events, the trace was not captured correctly and is useless.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM