diff options
author | Will Deacon <[email protected]> | 2013-04-12 19:04:19 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2013-04-17 16:54:07 +0100 |
commit | cb2d8b342aa084d1f3ac29966245dec9163677fb (patch) | |
tree | 0604b13530fba679379275a8af38a68c0ec3ac1c /lib/memory-notifier-error-inject.c | |
parent | 50acff3c1f9ee9753684e676929b82926f15966c (diff) |
ARM: 7698/1: perf: fix group validation when using enable_on_exec
Events may be created with attr->disabled == 1 and attr->enable_on_exec
== 1, which confuses the group validation code because events with the
PERF_EVENT_STATE_OFF are not considered candidates for scheduling, which
may lead to failure at group scheduling time.
This patch fixes the validation check for ARM, so that events in the
OFF state are still considered when enable_on_exec is true.
Cc: [email protected]
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Reported-by: Sudeep KarkadaNagesha <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions