jitlog.MARK_TRACE_OPT in do_compile_bridge and do_compile_loop of compile.py

Jan. 6, 2017
9:42 a.m.
I'm thinking that jitlog.MARK_TRACE_OPT is the only marker I need to keep track of as I'm dumping pycode (overloading execute_frame as vmprof does). When I see a MARK_TRACE_OPT, I just walk backward to find the closest pycode dump. This will give me the actual source code lines that was JITTED. Would this approach work ? Thanks, SHubha
2991
Age (days ago)
2991
Last active (days ago)
0 comments
1 participants
participants (1)
-
Shubha Ramani