aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2016-09-05 18:25:48 +0100
committerWill Deacon <[email protected]>2016-09-07 09:41:42 +0100
commitefd9e03facd075f5b76bf82e6c785bd45d5cbf4f (patch)
treef271f509acaba940a50d978a14713585f34b8667 /tools/perf/scripts/python/stackcollapse.py
parentef0da55a84a345f323ceddda3b6c78b25de90435 (diff)
arm64: Use static keys for CPU features
This patch adds static keys transparently for all the cpu_hwcaps features by implementing an array of default-false static keys and enabling them when detected. The cpus_have_cap() check uses the static keys if the feature being checked is a constant, otherwise the compiler generates the bitmap test. Because of the early call to static_branch_enable() via check_local_cpu_errata() -> update_cpu_capabilities(), the jump labels are initialised in cpuinfo_store_boot_cpu(). Cc: Will Deacon <[email protected]> Cc: Suzuki K. Poulose <[email protected]> Signed-off-by: Catalin Marinas <[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