[PATCH 0/2] riscv: tracing: Improve hardirq tracing message

From: Yipeng Zou
Date: Thu Sep 01 2022 - 06:49:19 EST


Currently, hardirq tracing log in riscv showing the last {enabled,disabled}
at __trace_hardirqs_{on,off} all the time.

We can use trace_hardirqs_on_caller to display the caller we really want
to see.

Yipeng Zou (2):
tracing: hold caller_addr to hardirq_{enable,disable}_ip
riscv: tracing: Improve hardirq tracing message

arch/riscv/kernel/trace_irq.c | 4 ++--
include/linux/irqflags.h | 2 ++
kernel/trace/trace_preemptirq.c | 4 ++--
3 files changed, 6 insertions(+), 4 deletions(-)

--
2.17.1