perf trace: Allow overiding the formatting of syscall fields
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2013 15:29:38 +0000 (12:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2013 20:25:57 +0000 (17:25 -0300)
commitbeccb2b54a39ca5e49a7aa2912faa33617a45cc1
tree805842bd7728c92c5211b5f6d897493e54b77dfb
parente5959683adb6b15cc2aebfbed5aa1315e24a53db
perf trace: Allow overiding the formatting of syscall fields

The mmap syscalls, for instance, don't have the FORMAT_IS_POINTER for
its pointer arguments, override it.

This also paves the way for more specialized argument beautifiers, like
for mmap's prot and flags arguments.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-mm864hvhrpt39muxmmbtjasz@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c