How to annotate JITed code for perf/samply
YJIT and ZJIT support Linux perf and samply profiling through the perf map interface. JITed code can be annotated by writing function entries to /tmp/perf-{PID}.map files. This allows JIT frames to be named in profiling output when using the --zjit-perf flag.