aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2011-07-19 22:43:28 +0100
committerWill Deacon <[email protected]>2011-08-31 10:18:01 +0100
commitecf5a893211c26e02b9d4cfd6ba2183473ac0203 (patch)
treeaccf48ac99027c2b3fcc81217569abae827ad80d /tools/perf/util/scripting-engines/trace-event-python.c
parentd2b41f7456223ba6abd3b38d7b54be97914f3aa5 (diff)
ARM: perf: index PMU registers from zero
ARM PMU code used to use 1-based indices for PMU registers. This caused several data structures (pmu_hw_events::{active_events, used_mask, events}) to have an unused element at index zero. ARMPMU_MAX_HWEVENTS still takes this indexing into account, and currently equates to 33. This patch updates the core ARM perf code to use the 0th index again. Acked-by: Jamie Iles <[email protected]> Reviewed-by: Jean Pihet <[email protected]> Signed-off-by: Mark Rutland <[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