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

Yipeng Zou zouyipeng at huawei.com
Thu Sep 1 03:45:13 PDT 2022


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




More information about the linux-riscv mailing list