Non-Traditional Profiling

Also known as “you can just put whatever you want in a jitdump you know?” When you profile JIT code, you have to tell a profiler what on earth is going on in those JIT bytes you wrote out. Otherwise the profiler will shrug and just give you some addresses. There’s a decent and fairly common format called jitdump , which originates in perf but has become used in more places. The basic thrust of the…