tools lib traceevent: Add support for "%.*s" in bprintk events
authorSteven Rostedt <srostedt@redhat.com>
Tue, 15 Nov 2011 23:47:48 +0000 (18:47 -0500)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 4 Jul 2012 04:40:30 +0000 (13:40 +0900)
commitc2e6dc2b268cca44d522b2ee86147f0d30d7e3e4
tree5db2c6b780350b11ddb9a58280ef4f3f0e4182ad
parente84c282b40251f314c429f39b044785e323f2648
tools lib traceevent: Add support for "%.*s" in bprintk events

The arg notation of '*' in bprintks is not handled by the parser.
Implement it so that they show up properly in the output and do not
kill the tracer from reporting events.

Reported-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/n/tip-t0ctq7t1xz3ud6wv4v886jou@git.kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/lib/traceevent/event-parse.c