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, 7 Nov 2011 16:02:35 +0000 (11:02 -0500)
commit49908a1b25d448d68fd26faca260e1850201575f
tree75bb37270ccbe943ab437a444e7c006d990ab57c
parentc8452afb7426f7e21388492f40227582e3e83879
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