summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-09-29 00:58:36 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-10-03 01:36:25 +0400
commitba3d7deeef7fafdab7814e298fa2db0fc63bb5d0 (patch)
tree5dd5c2d31387fda6dacf69f4ef29aefa4a07d572 /tools/perf/builtin-inject.c
parentd6e66832a710c0e6d1376e8d39ee108636a177e7 (diff)
downloadlinux-ba3d7deeef7fafdab7814e298fa2db0fc63bb5d0.tar.xz
perf trace: Use evsel->handler.func
I.e. we don't need to resolve the evsel via the id and then check if it is this or that event, just stash the right handler at evsel creation time, then use evsel->handler.func() straight away. 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-bpz3axzr4f2cjppf4egm28wf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions