perf trace: Add array of chars scnprintf beautifier
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Oct 2019 17:56:40 +0000 (14:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 Oct 2019 15:22:18 +0000 (12:22 -0300)
commit9597945d7fb42460e9f2559d1273302ebde85bbf
tree6ed2653d2e7e5fa636ef963a4bb10ce453cd6575
parent888ca854e275fcfbb13206d32bb01c0576fc5546
perf trace: Add array of chars scnprintf beautifier

Needed for sched's traceoints prev/next comm, where, unlike with
syscalls, we are not dealing with an integer or pointer, but an array
straight out from the ring buffer.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-rlll7tmcqe1g4odtaifil5re@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c