]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf tools: Fix backslash processing on trace print formats
authorSteven Rostedt <srostedt@redhat.com>
Wed, 14 Oct 2009 19:43:33 +0000 (15:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Oct 2009 08:42:35 +0000 (10:42 +0200)
commit91ff2bc191827f0d3f5ad0a433ff7df7d2dd9aee
treeb1ce2b9f026fc579e6ebf1a9724725f925750f5a
parent924a79af2cdee26a034b9bdce8c9c76995b5c901
perf tools: Fix backslash processing on trace print formats

The handling of backslashes was broken. It would stop parsing
when encountering one. Also, '\n', '\t', '\r' and '\\' were not
converted.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091014194357.521974680@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/trace-event-parse.c