• P
    perf_counter: revamp syscall input ABI · b8e83514
    Peter Zijlstra 提交于
    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: NPeter 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: NIngo Molnar <mingo@elte.hu>
    b8e83514
perf_counter.c 24.4 KB