diff options
| author | Ian Rogers <[email protected]> | 2025-07-24 16:33:00 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-07-25 17:37:58 +0000 |
| commit | 8882095b1d4d785524a7a4df8e04e35cfd039142 (patch) | |
| tree | e8ca4df337a4b8e30493f8ceabfd1fcbd946f26b /tools/perf/builtin-script.c | |
| parent | perf env: Remove global perf_env (diff) | |
| download | kernel-8882095b1d4d785524a7a4df8e04e35cfd039142.tar.gz kernel-8882095b1d4d785524a7a4df8e04e35cfd039142.zip | |
perf sample: Remove arch notion of sample parsing
By definition arch sample parsing and synthesis will inhibit certain
kinds of cross-platform record then analysis (report, script,
etc.). Remove arch_perf_parse_sample_weight and
arch_perf_synthesize_sample_weight replacing with a common
implementation. Combine perf_sample p_stage_cyc and retire_lat as
weight3 to capture the differing uses regardless of compiled for
architecture.
Signed-off-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
| -rw-r--r-- | tools/perf/builtin-script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index f2b5620165b4..d9fbdcf72f25 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -2252,7 +2252,7 @@ static void process_event(struct perf_script *script, fprintf(fp, "%16" PRIu16, sample->ins_lat); if (PRINT_FIELD(RETIRE_LAT)) - fprintf(fp, "%16" PRIu16, sample->retire_lat); + fprintf(fp, "%16" PRIu16, sample->weight3); if (PRINT_FIELD(CGROUP)) { const char *cgrp_name; |
