aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2016-08-31 11:31:09 +0100
committerWill Deacon <[email protected]>2016-08-31 13:48:15 +0100
commit6f2b7eeff9dbadeb7366d44086aa34792a996fc9 (patch)
treecd7233c0c346a9551beaf27b5f62533d56e00a6e /tools/perf/scripts/python/stackcollapse.py
parent5e49d73c1d87de50353844d263c1c7664aefeec8 (diff)
arm64: cpufeature: constify arm64_ftr_regs array
Constify the arm64_ftr_regs array, by moving the mutable arm64_ftr_reg fields out of the array itself. This also streamlines the bsearch, since the entire array can be covered by fewer cachelines. Moving the payload out of the array also allows us to have special explicitly defined struct instance in case other code needs to refer to it directly. Note that this replaces the runtime sorting of the array with a runtime BUG() check whether the array is sorted correctly in the code. Reviewed-by: Suzuki K Poulose <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions