Wesley Wiser
Wesley Wiser
Thanks for your work on this @ricobbe! Good luck with your new role 😃
Thanks! @bors r+ rollup
I also ran into this with the [`IDebugFAEntryTags`](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/extsfns/nn-extsfns-idebugfaentrytags) interface which doesn't derive from `IUnknown`. In my case, I just need to use an instance of the interface which I'm given...
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...
To clarify, by "the trace file" I meant the results of `tracelog`/`xperf` not the self-profile data which should be conceptually equivalent to the `perf` data on Linux.
I've started working on this. Based on [these](https://randomascii.wordpress.com/2016/11/27/cpu-performance-counters-on-windows/) [blog](https://easyperf.net/blog/2019/02/23/How-to-collect-performance-counters-on-Windows) [posts](https://adamsitnik.com/Hardware-Counters-ETW/), it looks like we can capture a variety of hardware performance counters on Windows. I've also confirmed that this technique...
> Do we want to collect statistics on perf.rust-lang.org for Windows? I think that would be great but we'll need to explore how to make that actually happen of course....
Opened https://github.com/rust-lang/rust/pull/98471 to update measureme in rustc to resolve that.
I think we should @rustbot second this proposal and then do an FCP on the actual PR.
@rustbot second