-
- Downloads
perf_counter: revamp syscall input ABI
Impact: modify ABI The hardware/software classification in hw_event->type became a little strained due to the addition of tracepoint tracing. Instead split up the field and provide a type field to explicitly specify the counter type, while using the event_id field to specify which event to use. Raw counters still work as before, only the raw config now goes into raw_event. Signed-off-by:Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Steven Rostedt <rostedt@goodmis.org> Orig-LKML-Reference: <20090319194233.836807573@chello.nl> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/powerpc/kernel/perf_counter.c 2 additions, 2 deletionsarch/powerpc/kernel/perf_counter.c
- arch/x86/kernel/cpu/perf_counter.c 5 additions, 5 deletionsarch/x86/kernel/cpu/perf_counter.c
- include/linux/perf_counter.h 60 additions, 35 deletionsinclude/linux/perf_counter.h
- kernel/perf_counter.c 50 additions, 33 deletionskernel/perf_counter.c
Loading
Please register or sign in to comment