diff options
author | Mark Rutland <[email protected]> | 2011-04-27 16:22:21 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2011-08-31 10:50:01 +0100 |
commit | 7b9f72c62ed047a200b1ef8c70bee0b58e880af8 (patch) | |
tree | 1858fa358eaf3a40d892ff86705b724f1be8c3c7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 48957155f8791964d8567479e6986f88343aba38 (diff) |
ARM: perf: clean up event group validation
Currently, event group validation compares each event's 'pmu' pointer
against the static 'pmu' pointer. This limits the code to supporting
only 1 PMU.
This patch changes the behaviour to consider an event's group leader's
'pmu' pointer as canonical for validation. This should ease later
generalisation of the code to support multiple PMUs at once.
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Reviewed-by: Jamie Iles <[email protected]>
Reviewed-by: Ashwin Chaugule <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions