Open petrochenkov opened 2 years ago
profile_local
runs successfully though.
.\target\x86_64-pc-windows-msvc\release\collector.exe profile_local self-profile "C:\Users\we\.cargo\bin\rustc.exe" 127 --include await-call-tree
Profiling 127 with SelfProfile
1 benchmark remaining
Preparing await-call-tree
Running await-call-tree: Check + [Full, IncrFull, IncrUnchanged, IncrPatched]
Running await-call-tree: Debug + [Full, IncrFull, IncrUnchanged, IncrPatched]
Running await-call-tree: Opt + [Full, IncrFull, IncrUnchanged, IncrPatched]
cc @wesleywiser
If the file is missing the PMC
event, then that usually means hardware performance counters aren't supported for some reason. It's possible WPA on Win 8.1 just doesn't support that but I think we'd be getting a different error if that was the case. The other possibility is that WPA doesn't have support for capturing the counters on this CPU at the HAL level.
@petrochenkov is this by any chance an AMD CPU?
@wesleywiser No, the CPU is Intel.
Perf tools (installed from ADK as suggested for Windows 8.1):
Output from running collector (with some debug logging added): (Collector has to be run from admin console, otherwise you get other errors like "error: rustc-perf-counters: The instance name passed was not recognized as valid by a WMI data provider".)