aboutsummaryrefslogtreecommitdiff
path: root/Documentation/filesystems/configfs/configfs_example_macros.c
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2013-12-16 14:17:36 +0200
committerIngo Molnar <[email protected]>2013-12-17 15:04:00 +0100
commit443772776c69ac9293d66b4d69fd9af16299cc2a (patch)
tree2de33c59380501f7bb34ed9c39897bd30d942c04 /Documentation/filesystems/configfs/configfs_example_macros.c
parentcf30d52e2d11523c42048ab89ed4215b5021526a (diff)
perf: Disable all pmus on unthrottling and rescheduling
Currently, only one PMU in a context gets disabled during unthrottling and event_sched_{out,in}(), however, events in one context may belong to different pmus, which results in PMUs being reprogrammed while they are still enabled. This means that mixed PMU use [which is rare in itself] resulted in potentially completely unreliable results: corrupted events, bogus results, etc. This patch temporarily disables PMUs that correspond to each event in the context while these events are being modified. Signed-off-by: Alexander Shishkin <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Alexander Shishkin <[email protected]> Link: http://lkml.kernel.org/r/1387196256-8030-1-git-send-email-alexander.shishkin@linux.intel.com Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example_macros.c')
0 files changed, 0 insertions, 0 deletions