diff options
| author | Namhyung Kim <[email protected]> | 2024-10-16 06:23:56 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-10-22 16:55:07 +0000 |
| commit | 28398ce1726e5dfa74f6305dd842e0fb7e332ef1 (patch) | |
| tree | ad190fc1224e93ef070a6e3d27ef96166d9b4f82 /tools/perf/builtin-script.c | |
| parent | perf tools: Detect missing kernel features properly (diff) | |
| download | kernel-28398ce1726e5dfa74f6305dd842e0fb7e332ef1.tar.gz kernel-28398ce1726e5dfa74f6305dd842e0fb7e332ef1.zip | |
perf tools: Move x86__is_amd_cpu() to util/env.c
It can be called from non-x86 platform so let's move it to the general
util directory. Also add a new helper perf_env__is_x86_amd_cpu() so
that it can be called with an existing perf_env as well.
Reviewed-by: James Clark <[email protected]>
Reviewed-by: Ravi Bangoria <[email protected]>
Acked-by: Kan Liang <[email protected]>
Cc: James Clark <[email protected]>
Cc: Atish Patra <[email protected]>
Cc: Mingwei Zhang <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
