diff options
| author | Leo Yan <leo.yan@arm.com> | 2025-09-12 16:42:15 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2025-09-19 12:14:28 -0300 |
| commit | 14d4ecb15e885ebea8eeb0389c6a35e3a166f199 (patch) | |
| tree | 7b50678ac7f21a49bef2f828a6179a582d67688b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | perf arm_spe: Refine memory level filling (diff) | |
| download | linux-14d4ecb15e885ebea8eeb0389c6a35e3a166f199.tar.gz linux-14d4ecb15e885ebea8eeb0389c6a35e3a166f199.zip | |
perf arm_spe: Separate setting of memory levels for loads and stores
For a load hit, the lowest-level cache reflects the latency of fetching
a data. Otherwise, the highest-level cache involved in refilling
indicates the overhead caused by a load.
Store operations remain unchanged to keep the descending order when
iterating through cache levels.
Split into two functions: one is for setting memory levels for loads and
another for stores.
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ali Saidi <alisaidi@amazon.com>
Cc: German Gomez <german.gomez@arm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
