On 12/19/25 11:08 AM, Alex Bennée wrote:
I'm hunting for lost IRQs and want to trace what various registers are
being set to when IRQs happen. This combines the discontinuity
tracking API with register value tracking to do so.

It supports:

   tracksw - to keep track of the last thing that wrote to a register
   show_frompc - show the line executing before the discontinuity

As we might not have disassembly for the nominal last pc for an async
IRQ we also track the pc of the last executed instruction in a block
and use that as a fallback.

Signed-off-by: Alex Bennée <[email protected]>
---
  contrib/plugins/systrace.c  | 572 ++++++++++++++++++++++++++++++++++++
  contrib/plugins/meson.build |   2 +-
  2 files changed, 573 insertions(+), 1 deletion(-)
  create mode 100644 contrib/plugins/systrace.c
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to