> Though if I try to perf inject the dumps, I have the following errors
> jitdump file contains invalid or unsupported flags 0xf5880666c26c
> 0x2b750 [0xa8]: failed to process type: 10 [Operation not permitted]
> But that might be an issue with my setup, I would need to test it
> further to understand the issue...
After some additional investigation, I think that's a LLVM issue: The
Flags field is never initialised so the JIT perf plugin was writing
random data in the JIT dump header.
I've opened a PR[0] to fix this.
[0] https://github.com/llvm/llvm-project/pull/175204