aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorAndrew Vagin <[email protected]>2012-07-12 14:14:29 +0400
committerIngo Molnar <[email protected]>2012-07-26 12:23:10 +0200
commit895dd92c032e1604aa0d7afaef7716e058343b67 (patch)
tree8662091be28c24a44287fc43790cf92547499a83 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent045e7e6047037d93824d265cc30c33eb631f8883 (diff)
sched: Deliver sched_switch events to the current task
Otherwise they can't be filtered for a defined task: perf record -e sched:sched_switch ./foo This command doesn't report any events without this patch. I think it isn't a security concern if someone knows who will be executed next - this can already be observed by polling /proc state. By default perf is disabled for non-root users in any case. I need these events for profiling sleep times. sched_switch is used for getting callchains and sched_stat_* is used for getting time periods. These events are combined in user space, then it can be analyzed by perf tools. Signed-off-by: Andrew Vagin <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Arun Sharma <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions