]> git.karo-electronics.de Git - linux-beck.git/commit
perf trace: Allow passing parms to arg formatters
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Sep 2013 18:50:28 +0000 (15:50 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2013 14:09:28 +0000 (11:09 -0300)
commit1f115cb72e44391fac3ab1c562a77b421469ac2d
treeacf52c04c0b16f74b32cf67d9ea8d9e50fd85dee
parent01533e9720c8527faf0bc6e476c4c911a488e268
perf trace: Allow passing parms to arg formatters

So that we can have generic formatters that act upon specific
parameters.

Start using them with a simple string table that assumes entries
will be indexes to a string table, like with the 'which' parm
for the set and getitimer syscalls

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.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-r0dqhapr8j6150v1wctgg340@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c