Replies: 4 comments 6 replies
-
Would this allow flamegraphs to break |
Beta Was this translation helpful? Give feedback.
-
I was thinking more in the direction of replacing Stmts within the This is |
Beta Was this translation helpful? Give feedback.
-
@JustinAzoff - if you have an x86-64 system available for testing: https://github.com/awelzel/zeek-perf-support I didn't look too much at the Python version and just did the brute-force approach. |
Beta Was this translation helpful? Give feedback.
-
@JustinAzoff , do you think if we patch Might be worth contributing so it would work for Python and the like, too. If |
Beta Was this translation helpful? Give feedback.
-
@JustinAzoff dug into Python 3.12's perf support and was wondering how hard it would be for Zeek to support this similarly. Could likely pull it off in a plugin, actually. Involves dynamic code generation of trampoline functions, mprotect and writing "magic" files to
/tmp
thatperf
can recognize.References:
https://docs.python.org/3/howto/perf_profiling.html
https://github.com/python/cpython/pull/96123/files?diff=unified&w=0
Beta Was this translation helpful? Give feedback.
All reactions