perf: Remove the 'match' callback for auxiliary events processing
authorJiri Olsa <jolsa@redhat.com>
Tue, 9 Jul 2013 16:56:31 +0000 (18:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 12 Jul 2013 11:50:36 +0000 (13:50 +0200)
commit67516844625f45f0ce148a01c27bf41f591872b2
treeca2f951a3e5728830b965dab41e8d471fbaa0afa
parent058ebd0eba3aff16b144eabf4510ed9510e1416e
perf: Remove the 'match' callback for auxiliary events processing

It gives the following benefits:

  - only one function pointer is passed along the way

  - the 'match' function is called within output function
    and could be inlined by the compiler

Suggested-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1373388991-9711-1-git-send-email-jolsa@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c