]> git.baikalelectronics.ru Git - kernel.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)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 7 Nov 2011 16:02:35 +0000 (11:02 -0500)
commitd921f5411d6416d86ea25be0669649b3075df49a
tree75bb37270ccbe943ab437a444e7c006d990ab57c
parent2d42e03c4ae743d5894da2b7e351b027272e11e1
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