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)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 5 Dec 2011 18:28:47 +0000 (13:28 -0500)
commitd06c27b22aa66e48e32f03f9387328a9af9b0625
tree784762fe9cbe56919818c8ca66e11f035b92425f
parentbbbf7af4bf8fc69bc751818cf30521080fa47dcb
perf: Fix parsing of __print_flags() in TP_printk()

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.

Cc: stable@vger.kernel.org
Reported-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/perf/util/trace-event-parse.c