summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-11-30 20:18:04 +0300
committerWill Deacon <will.deacon@arm.com>2018-12-06 18:12:25 +0300
commitf7bfc14a0819962bc0767f33ce17d4b366b46dd6 (patch)
treeecf7354be09bed5586c633200adfb3e356db2e17 /tools/perf/scripts/python/intel-pt-events.py
parent82a3a21b236f96f84b715c46ac1b2a669da8916f (diff)
downloadlinux-f7bfc14a0819962bc0767f33ce17d4b366b46dd6.tar.xz
arm64: capabilities: Optimize this_cpu_has_cap
Make use of the sorted capability list to access the capability entry in this_cpu_has_cap() to avoid iterating over the two tables. Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions