Skip to content

perf hists: Changes on hists__{match,link} (v3)

Namhyung Kim lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf diff: Removing displacement output optiontools/perf/Documentation/perf-diff.txt tools/perf/builtin-diff.c tools/perf/ui/hist.c +1 more+7 -520 replies
2/5perf hists: Exchange order of comparing items when collapsing histstools/perf/util/hist.c+3 -34 replies
3/5perf hists: Link hist entries before inserting to an output treetools/perf/builtin-diff.c tools/perf/util/hist.c+54 -602 replies
4/5perf diff: Use internal rb tree for compute resorttools/perf/builtin-diff.c+16 -102 replies
5/5perf test: Add a test case for hists__{match,link}tools/perf/Makefile tools/perf/tests/builtin-test.c tools/perf/tests/hists_link.c +3 more+510 -10 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchJiri Olsa
1/5
2/5
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] perf hists: Changes on hists__{match,link} (v3)

Hi,

I rebased my series on Jiri's diff displacement removal patch. As the displacement logic is gone, no need to resort (by period) baseline since the output is only aligned to a newer data (i.e. "other" hists).

I also pushed the branch onto my tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git perf/link-v3

Please take a look and give comments. Any comments are welcome.

Thanks,
Namhyung

Jiri Olsa (1):
perf diff: Removing displacement output option

Namhyung Kim (4):
perf hists: Exchange order of comparing items when collapsing hists perf hists: Link hist entries before inserting to an output tree perf diff: Use internal rb tree for compute resort
perf test: Add a test case for hists__{match,link}

 tools/perf/Documentation/perf-diff.txt |    4 -
 tools/perf/Makefile                    |    1 +
 tools/perf/builtin-diff.c              |  104 ++-----
 tools/perf/tests/builtin-test.c        |    4 +
 tools/perf/tests/hists_link.c          |  502 ++++++++++++++++++++++++++++++++
 tools/perf/tests/tests.h               |    1 +
 tools/perf/ui/hist.c                   |   25 --
 tools/perf/util/hist.c                 |   51 +++-
 tools/perf/util/hist.h                 |    1 -
 tools/perf/util/machine.h              |    1 +
 tools/perf/util/session.c              |    2 +-
 11 files changed, 580 insertions(+), 116 deletions(-)
 create mode 100644 tools/perf/tests/hists_link.c
Signature · 1 line
1.7.9.2