mbox series

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

Message ID 20220901104515.135162-1-zouyipeng@huawei.com (mailing list archive)
Headers show
Series riscv: tracing: Improve hardirq tracing message | expand

Message

Yipeng Zou Sept. 1, 2022, 10:45 a.m. UTC
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(-)