summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2022-12-18 23:53:36 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-02-11 12:44:07 +0300
commit6b8d5dde5b6903baf82fc7400e0b3376b10805b4 (patch)
tree2f538623d9a2601479dc86b81b9a11ce8ea62d1f /tools/perf/scripts/python/exported-sql-viewer.py
parent8fe6d84947582e2c076abc6253b80709fb047935 (diff)
downloadlinux-6b8d5dde5b6903baf82fc7400e0b3376b10805b4.tar.xz
x86/tsc: Do feature check as the very first thing
Do the feature check as the very first thing in the function. Everything else comes after that and is meaningless work if the TSC CPUID bit is not even set. Switch to cpu_feature_enabled() too, while at it. No functional changes. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/Y5990CUCuWd5jfBH@zn.tnic
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions