Project

General

Profile

« Previous | Next » 

Revision 2dff1d4f

Added by jhawthorn (John Hawthorn) over 2 years ago

YJIT: Fix raw sample stack lengths in exit traces (#7728)

yjit-trace-exits appends a synthetic sample for the instruction being
exited, but we didn't increment the size of the stack. Fixing this count
correctly lets us successfully generate a flamegraph from the exits.

I also replaced the line number for instructions with 0, as I don't
think the previous value had meaning.

Co-authored-by: Adam Hess