aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-10-15 23:23:56 -0700
committerNamhyung Kim <[email protected]>2024-10-22 09:55:07 -0700
commit28398ce1726e5dfa74f6305dd842e0fb7e332ef1 (patch)
treead190fc1224e93ef070a6e3d27ef96166d9b4f82 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent3b193a57baf15c468e4f86cebc694ca4fe18301b (diff)
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/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions