• Peter Zijlstra's avatar
    perf_counter: revamp syscall input ABI · b8e83514
    Peter Zijlstra authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@elte.hu>
    b8e83514
perf_counter.c 24.4 KB