Skip to content

perf: add sort by inclusive time functionality (v2)

Arun Sharma linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: refactor add_hist_entry() code pathstools/perf/builtin-report.c tools/perf/util/hist.c tools/perf/util/hist.h+29 -80 replies
2/2perf: Add a new sort order: SORT_INCLUSIVEtools/perf/builtin-report.c tools/perf/util/callchain.c tools/perf/util/callchain.h +4 more+78 -36 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf: add sort by inclusive time functionality (v2)

This patch series refactors existing code a bit and adds sort by inclusive time (time spent in the function + callees).

Sample command lines:

# perf record -ag -- sleep 1
# perf report -g graph,0.5,callee -n -s inclusive

Known bugs:

total_period computation is broken for order=callee

Cc Ingo Molnar <[email protected]>
CC Arnaldo Carvalho de Melo <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Tom Zanussi <[email protected]>