aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorShang XiaoJing <[email protected]>2022-09-06 11:29:05 +0800
committerArnaldo Carvalho de Melo <[email protected]>2022-10-04 08:55:21 -0300
commitcf874a0165e4a6ea906db9e735d52ee50fdf760b (patch)
treea2addbd4d9a306a8c3b081e36378c7e061922daa /tools/perf/scripts/python/syscall-counts.py
parent4fb47c8c20ec851128a36f82295886d325920864 (diff)
perf c2c: Add helpers to get counts of loads or stores
Wrap repeated code in helper functions get_load_llc_misses, get_load_cache_hits. For consistence, helper function get_stores is wraped as well. Reviewed-by: Leo Yan <[email protected]> Signed-off-by: Shang XiaoJing <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions