diff options
author | Frederic Weisbecker <[email protected]> | 2011-02-26 04:51:54 +0100 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2011-03-02 16:05:51 +0100 |
commit | 0a10247914a5cad3caf7ef8a255c54c4d3ed2062 (patch) | |
tree | 1d206b0c3e1ef18164d049c15436d566aa3176cf /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 5807806a92450fd57f8063868efae9d4af74db02 (diff) |
perf: Set filters before mmaping events
We currently set the filters after we mmap the events, this is a
race that let undesired events record themselves in the buffer before
we had the time to set the filters.
So set the filters before they can be recorded. That also librarizes
the filters setting so that filtering can be done more easily
from other tools than perf record later.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Steven Rostedt <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions