aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2010-09-02 09:32:08 +0100
committerRussell King <[email protected]>2010-09-02 16:36:42 +0100
commit65b4711ff513767341aa1915c822de6ec0de65cb (patch)
treefa9b04363c4644219030a15425593180388f1842 /fs/jbd/commit.c
parent026b5ca3b65f878019a8eb0c7a702cd5c20a4104 (diff)
ARM: 6352/1: perf: fix event validation
The validate_event function in the ARM perf events backend has the following problems: 1.) Events that are disabled count towards the cost. 2.) Events associated with other PMUs [for example, software events or breakpoints] do not count towards the cost, but do fail validation, causing the group to fail. This patch changes validate_event so that it ignores events in the PERF_EVENT_STATE_OFF state or that are scheduled for other PMUs. Reported-by: Pawel Moll <[email protected]> Acked-by: Jamie Iles <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions