aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2016-01-26 11:30:14 +0000
committerIngo Molnar <[email protected]>2016-01-29 07:35:31 +0000
commitf47c02c0c8403963fbb8c3484e285727305d0f73 (patch)
tree3672f498ef05670f261a8bfbfd66925eca852879 /tools/perf/scripts/python/syscall-counts.py
parentperf: Fix STATE_EXIT usage (diff)
downloadkernel-f47c02c0c8403963fbb8c3484e285727305d0f73.tar.gz
kernel-f47c02c0c8403963fbb8c3484e285727305d0f73.zip
perf: Robustify event->owner usage and SMP ordering
Use smp_store_release() to clear event->owner and lockless_dereference() to observe it. Further use READ_ONCE() for all lockless reads. This changes perf_remove_from_owner() to leave event->owner cleared. 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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions