]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf: Fix parsing of __print_flags() in TP_printk()
authorSteven Rostedt <srostedt@redhat.com>
Fri, 4 Nov 2011 20:32:25 +0000 (16:32 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:38:20 +0000 (17:38 -0800)
commitdf2c99b29ffe4c826bdde7d4b517a3f6c79293ab
tree1ec223724b118f703511cb3e723629252c724bac
parentf191c4a16b23d714db159f6de9b6434507052cb5
perf: Fix parsing of __print_flags() in TP_printk()

commit d06c27b22aa66e48e32f03f9387328a9af9b0625 upstream.

A update is made to the sched:sched_switch event that adds some
logic to the first parameter of the __print_flags() that shows the
state of tasks. This change cause perf to fail parsing the flags.

A simple fix is needed to have the parser be able to process ops
within the argument.

Reported-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
tools/perf/util/trace-event-parse.c