perf lock: Use evsel->tp_format and perf_sample
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 7 Aug 2012 13:59:44 +0000 (10:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2012 02:45:53 +0000 (23:45 -0300)
commit01d955244b99827814570ed4b675271ca7b8af02
treef9f80791c82270fd14619b309cc2aadf1336dd5e
parent22ad798c37cb554afae79a72c1d420ecb4d27b86
perf lock: Use evsel->tp_format and perf_sample

To reduce the number of parameters passed to the various event handling
functions.

Cc: Andrey Wagin <avagin@gmail.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: Namhyung Kim <namhyung@gmail.com>
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-bipk647rzq357yot9ao6ih73@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-lock.c