RFR: 7903722: JMH: Add xctrace-based perfnorm profiler for macOS

Filipp Zhinkin fzhinkin at openjdk.org
Mon Sep 23 22:51:48 UTC 2024


On Mon, 23 Sep 2024 17:03:54 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Yeah, `xctraceasm` does not work either. This might be a borked setup on my side, really.

I had a similar issue when a custom kernel trace client started w/ SU-privileges and died without releasing `ktrace`. Long story short, rebooting the device helped (~~`xctrace` start running, but my system-programming abilities didn't improve~~).

Messages about device simulator looks suspicious, maybe `xctrace list devices` will shed some light (perhaps, there are no devices available, due to `ktrace` being locked by another process, so xctrace decided to run on an emulator?).

-------------

PR Comment: https://git.openjdk.org/jmh/pull/131#issuecomment-2369687673


More information about the jmh-dev mailing list