[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <e60c889f-55e7-4ee8-0e50-151e435ffd8c@siemens.com>
Date: Thu, 28 Sep 2017 22:13:10 +0200
From: Jan Kiszka <jan.kiszka@...mens.com>
To: Steven Rostedt <rostedt@...dmis.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH][trace-cmd] Print value of unknown symbolic fields
From: Jan Kiszka <jan.kiszka@...mens.com>
Aligns trace-cmd with the behavior of the kernel.
Signed-off-by: Jan Kiszka <jan.kiszka@...mens.com>
---
event-parse.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/event-parse.c b/event-parse.c
index 606da5b..25e0874 100644
--- a/event-parse.c
+++ b/event-parse.c
@@ -3960,6 +3960,8 @@ static void print_str_arg(struct trace_seq *s, void *data, int size,
break;
}
}
+ if (!flag)
+ trace_seq_printf(s, "0x%llx", val);
break;
case PRINT_HEX:
if (arg->hex.field->type == PRINT_DYNAMIC_ARRAY) {
--
2.12.3
Powered by blists - more mailing lists