perf trace: Add beautifier for futex 'operation' parm
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Sep 2013 16:46:44 +0000 (13:46 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Sep 2013 17:58:19 +0000 (14:58 -0300)
commitf9da0b0c74af25a68b9ac43a2c81f2eea970de5a
tree1857cf63c6886c1c87c3e747e3e7cd0c829fb16d
parent6e7eeb51106d2e9ef7975214747e76d23c5d01af
perf trace: Add beautifier for futex 'operation' parm

That uses the arg mask mechanism just introduced to suppress ignored
arguments according to the futex operation.

Based on an initial patch from David Ahern that showed the need for some
way to allow args to tell how many further args should be shown.

Initial-patch-by: David Ahern <dsahern@gmail.com>
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-0k30it46r4hv5eanefbdmj5t@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c