Re: PEBS level 2/3 breaks dwarf unwinding! [WAS: Re: Broken dwarf unwinding - wrong stack pointer register value?]

From: Andi Kleen
Date: Tue Nov 06 2018 - 15:24:16 EST


> Where would I look for the source to change here? So far, I only concentrated
> on the userspace side of perf in tools/perf.

Kind of similar to

a405bad5ad20 perf/x86: Add Haswell specific transaction flag reporting
fdfbbd07e91f perf: Add generic transaction flags

Report the original (not overwritten) regs->ip and regs->sp

-Andi