tools/perf: Add required memory barriers
authorPeter Zijlstra <[email protected]>
Wed, 30 Oct 2013 10:42:46 +0000 (11:42 +0100)
committerIngo Molnar <[email protected]>
Wed, 6 Nov 2013 11:34:26 +0000 (12:34 +0100)
commita94d342b9cb09edfe888ea972af0883b6a8d992b
treedd3af73c84e210548c79d32dafbe4fadb2a42eb9
parent0a196848ca365ec582c6d86659be456be6d4ed96
tools/perf: Add required memory barriers

To match patch bf378d341e48 ("perf: Fix perf ring buffer memory
ordering") change userspace to also adhere to the ordering outlined.

Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Michael Neuling <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: [email protected]
Cc: Vince Weaver <[email protected]>
Cc: Victor Kaplansky <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Michael Ellerman <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/perf.h
tools/perf/tests/rdpmc.c
tools/perf/util/evlist.h