This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit f4a41c6ed438ee66ee9c14e980660a08931d070e Author: chao.an <anc...@xiaomi.com> AuthorDate: Wed Mar 30 21:42:02 2022 +0800 system/trace: fix the irq print compatibility with systrace Signed-off-by: chao.an <anc...@xiaomi.com> --- system/trace/trace_dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/trace/trace_dump.c b/system/trace/trace_dump.c index 9fc7649..004849d 100644 --- a/system/trace/trace_dump.c +++ b/system/trace/trace_dump.c @@ -592,8 +592,8 @@ static int trace_dump_one(FAR FILE *out, nih = (FAR struct note_irqhandler_s *)p; trace_dump_header(out, note, ctx); - fprintf(out, "irq_handler_entry: irq=%u\n", - nih->nih_irq); + fprintf(out, "irq_handler_entry: irq=%u name=%d\n", + nih->nih_irq, nih->nih_irq); cctx->intr_nest++; } break; @@ -604,7 +604,7 @@ static int trace_dump_one(FAR FILE *out, nih = (FAR struct note_irqhandler_s *)p; trace_dump_header(out, note, ctx); - fprintf(out, "irq_handler_exit: irq=%u\n", + fprintf(out, "irq_handler_exit: irq=%u ret=handled\n", nih->nih_irq); cctx->intr_nest--;