Hacker News new | ask | show | jobs
by rrss 1522 days ago
do you mean configuring the other PMUs to interrupt the core every function call / return?

If yes, then yes that is much much higher overhead than processor trace.

1 comments

It's worth noting that aside from the overhead, function call / returns are not quite enough to reconstruct the callstack: tailcalls are just regular branch instructions.