aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2023-06-13 09:55:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-14 02:40:33 +0000
commit0cd1ca4650c9cf5f318110f67d39cbebae3693b3 (patch)
tree6c56042b833d04f0f1287db56657ee47acfd3b95 /tools/perf/scripts/python/sctop.py
parentperf parse-events: Avoid string for PE_BP_COLON, PE_BP_SLASH (diff)
downloadkernel-0cd1ca4650c9cf5f318110f67d39cbebae3693b3.tar.gz
kernel-0cd1ca4650c9cf5f318110f67d39cbebae3693b3.zip
perf tool x86: Consolidate is_amd check into single function
There are multiple places where x86 specific code determines AMD vs Intel arch and acts based on that. Consolidate those checks into a single function. Signed-off-by: Ravi Bangoria <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ali Saidi <[email protected]> Cc: Ananth Narayan <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Madhavan Srinivasan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sandipan Das <[email protected]> Cc: Santosh Shukla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions