问题
我想用vtune采集一份数据,但是无法用vtune打开对应的exe,界面报错:
Cannot start analysis because Image File Execution Options (IFEO) are enabled for this application. Suggestion: Use the Global Flags Editor (GFlags) to disable IFEO for this application.
里面提示建议使用全局标志编辑器 (GFlags) 为该应用程序禁用 IFEO,我猜测是之前使用umdh的时候有用GFlags修改标志位。
解决方法
- cmd打开regedit:注册表编辑器
- 找到对应的目录树
计算机\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options
,修改里面的globalFlag为0