Currently "%o" not parsed properly and printed as '>o<'
# perf record -e ext4:ext4* touch new_file; perf script | grep "mode"

Signed-off-by: Dmitry Monakhov <dmonak...@openvz.org>
---
 tools/lib/traceevent/event-parse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/lib/traceevent/event-parse.c 
b/tools/lib/traceevent/event-parse.c
index 664c90c..27dc1f8 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -4952,6 +4952,7 @@ static void pretty_print(struct trace_seq *s, void *data, 
int size, struct event
                        case 'i':
                        case 'x':
                        case 'X':
+                       case 'o':
                        case 'u':
                                if (!arg) {
                                        do_warning_event(event, "no argument 
match");
-- 
2.7.4

Reply via email to