Skip to content

perf: Make some functions generic

Don Zickus lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v14 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf: Allow ability to map cpus to nodes easilytools/perf/util/cpumap.c tools/perf/util/cpumap.h+184 -04 replies
2/4perf: Use cpu/possible instead of cpu/kernel_maxtools/perf/util/cpumap.c+1 -10 replies
3/4perf, kmem: Utilize the new generic cpunode_maptools/perf/builtin-kmem.c+3 -750 replies
4/4perf, callchain: Add generic report parse callchain callback functiontools/perf/builtin-report.c tools/perf/util/callchain.c tools/perf/util/callchain.h+86 -780 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamhyung Kim
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v2 thread

Cover letter [PATCH 0/4 v2] perf: Make some functions generic

This patch just converts some private functions into global ones that can be used by other tools like the c2c tool I am trying to merge.

Don Zickus (4):
perf: Allow ability to map cpus to nodes easily
perf: Use cpu/possible instead of cpu/kernel_max
perf, kmem: Utilize the new generic cpunode_map
perf, callchain: Add generic report parse callchain callback function

 tools/perf/builtin-kmem.c   |  78 +----------------------
 tools/perf/builtin-report.c |  81 +-----------------------
 tools/perf/util/callchain.c |  82 ++++++++++++++++++++++++
 tools/perf/util/callchain.h |   1 +
 tools/perf/util/cpumap.c    | 149 ++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/cpumap.h    |  35 +++++++++++
 6 files changed, 273 insertions(+), 153 deletions(-)
Signature · 1 line
1.7.11.7