aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2023-01-04 20:13:48 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-02-03 20:24:02 +0000
commitd7d213e04cf83318681f24870f1144e50d5c91bb (patch)
tree8d1886bcb767c03cd12d788cf76b10af2d33735f /tools/perf/builtin-script.c
parentperf lock contention: Support filters for different aggregation (diff)
downloadkernel-d7d213e04cf83318681f24870f1144e50d5c91bb.tar.gz
kernel-d7d213e04cf83318681f24870f1144e50d5c91bb.zip
perf report: Support Retire Latency
The Retire Latency field is added in the var3_w of the PERF_SAMPLE_WEIGHT_STRUCT. The Retire Latency reports pipeline stall of this instruction compared to the previous instruction in cycles. That's quite useful to display the information with perf mem report. The p_stage_cyc for Power is also from the var3_w. Union the p_stage_cyc and retire_lat to share the code. Implement X86 specific codes to display the X86 specific header. Add a new sort key retire_lat for the Retire Latency. Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Kan Liang <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions