• P
    perf: Fix time locking · 2b8988c9
    Peter Zijlstra 提交于
    Most sites updating ctx->time and event times do so under
    ctx->lock, make sure they all do.
    
    This was made possible by removing the __perf_event_read() call
    from __perf_event_sync_stat(), which already had this lock
    taken.
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    LKML-Reference: <20091120212509.102316434@chello.nl>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    2b8988c9
perf_event.c 120.0 KB