summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJia He <justin.he@arm.com>2019-10-11 22:09:36 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2019-10-18 11:11:19 +0100
commit47d7b15b88f96a90694cfc607d0717d62dff6c45 (patch)
tree535f14204b7beb59b3c2d43ee53ae71f6740b257 /tools/perf/scripts/python/export-to-postgresql.py
parent4f5cafb5cb8471e54afdc9054d973535614f7675 (diff)
arm64: cpufeature: introduce helper cpu_has_hw_af()
We unconditionally set the HW_AFDBM capability and only enable it on CPUs which really have the feature. But sometimes we need to know whether this cpu has the capability of HW AF. So decouple AF from DBM by a new helper cpu_has_hw_af(). If later we noticed a potential performance issue on this path, we can turn it into a static label as with other CPU features. Signed-off-by: Jia He <justin.he@arm.com> Suggested-by: Suzuki Poulose <Suzuki.Poulose@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions