diff options
author | Jiri Olsa <[email protected]> | 2013-05-06 18:27:18 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-05-07 13:17:29 +0200 |
commit | 52d857a8784a09576215c71cebf368d61c12a754 (patch) | |
tree | 5bb32d39139ae0a6fb4ebe38f4d20f79317d18e4 /include/linux/sunrpc/gss_api.h | |
parent | 524eff183f51d080a83b348d0ea97c08b3607b9a (diff) |
perf: Factor out auxiliary events notification
Add perf_event_aux() function to send out all types of
auxiliary events - mmap, task, comm events. For each type
there's match and output functions defined and used as
callbacks during perf_event_aux processing.
This way we can centralize the pmu/context iterating and
event matching logic. Also since lot of the code was
duplicated, this patch reduces the .text size about 2kB
on my setup:
snipped output from 'objdump -x kernel/events/core.o'
before:
Idx Name Size
0 .text 0000d313
after:
Idx Name Size
0 .text 0000cad3
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/sunrpc/gss_api.h')
0 files changed, 0 insertions, 0 deletions