lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1474991355-16394-1-git-send-email-dmonakhov@openvz.org>
Date:   Tue, 27 Sep 2016 19:49:14 +0400
From:   Dmitry Monakhov <dmonakhov@...nvz.org>
To:     linux-kernel@...r.kernel.org
Cc:     peterz@...radead.org, Dmitry Monakhov <dmonakhov@...nvz.org>
Subject: [PATCH 1/2] tools: format octets properly

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 <dmonakhov@...nvz.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ