diff options
author | Peter Zijlstra <[email protected]> | 2016-01-26 13:06:56 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-29 08:35:32 +0100 |
commit | 8ba289b8d4e4dbd1f971fbf0d2085e4776a4ba25 (patch) | |
tree | 5f8ff9b816534dd1d553f0b6e12c0e80f28a9972 /scripts/gdb/linux | |
parent | f47c02c0c8403963fbb8c3484e285727305d0f73 (diff) |
perf: Clean up sync_child_event()
sync_child_event() has outgrown its purpose, it does far too much.
Bring it back to its named purpose.
Rename __perf_event_exit_task() to perf_event_exit_event() to better
reflect what it does and move the event->state assignment under the
ctx->lock, like state changes ought to be.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions