diff options
author | 2022-09-06 11:29:05 +0800 | |
---|---|---|
committer | 2022-10-04 08:55:21 -0300 | |
commit | cf874a0165e4a6ea906db9e735d52ee50fdf760b (patch) | |
tree | a2addbd4d9a306a8c3b081e36378c7e061922daa /tools/perf/util/intel-pt-decoder | |
parent | perf tools: Add same_cmd_with_prefix() helper (diff) | |
download | linux-dev-cf874a0165e4a6ea906db9e735d52ee50fdf760b.tar.xz linux-dev-cf874a0165e4a6ea906db9e735d52ee50fdf760b.zip |
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 <leo.yan@linaro.org>
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220906032906.21395-3-shangxiaojing@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder')
0 files changed, 0 insertions, 0 deletions