符号未正确加载 [英] Symbols not loaded correctly

查看:142
本文介绍了符号未正确加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,
使用xperf和xbootmgr我已将_NT_SYMBOL_PATH设置为映射的网络驱动器;即Z:\实际上映射到我的开发系统,我在其中构建驱动程序(.sys)并包含.pdb。当我启用跟踪时,我使用"-stackwalk Profile"。选项。我通过打开.etl文件,选择加载符号,然后进入摘要表,使用GUI查看结果。我正在调试的驱动程序根本没有出现在System(4)下。如果我进入Simple Sumary Table,我会看到我的驱动程序和一些函数被调用。但是我知道与WinDbg相比,它没有显示所有被调用的函数。

为什么我看不到正确的堆栈的任何想法?

谢谢。

Hello,
 Using xperf and xbootmgr I've set up the _NT_SYMBOL_PATH to a mapped network drive; i.e. Z:\ is actually mapped to my development system, where I've build the driver (.sys) and contains the .pdb.  When I enable a trace I use the "-stackwalk Profile" option.  I view the result with the GUI by opening the .etl file, selecting load symbols, and then go into Summary Table.  The driver I am debugging does not appear at all under System(4).  If I go into Simple Sumary Table I do see my driver and some functions called.  But I know it is not displaying all the functions that are called, when compared to WinDbg.

Any ideas on why I cannot see the correct stack?

Thank you.

推荐答案

您好777frank,

我首先想到的是建议在启动查看器之前启用DBGHELP_LOG logging =名为DBGHELP_LOG的环境变量,等于要记录的文件:

设置DBGHELP_LOG = C:\ temp \ dbghelplogfile.log
xperf my.etl


然后,重试该操作,并在完成查看日志文件时。它是否会显示任何提示?
Hi 777frank,

My first thought would be to suggest enabling DBGHELP_LOG logging = prior to launching the viewer, set an environment variable named DBGHELP_LOG, equal to the file to log to:

set DBGHELP_LOG=C:\temp\dbghelplogfile.log
xperf my.etl


Then, retry the operation, and when complete view the log file.  Does it turn up any hints?


这篇关于符号未正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆