Skip to content

perf tools: Several fixes

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tools lib: Add bitmap_alloc functiontools/include/linux/bitmap.h+10 -05 replies
2/7tools lib: Add bitmap_snprintf functiontools/include/linux/bitmap.h tools/lib/bitmap.c+39 -01 reply
3/7tools lib: Add bitmap_and functiontools/include/linux/bitmap.h tools/lib/bitmap.c+32 -00 replies
4/7perf tests: Add test for bitmap_snprintf functiontools/perf/tests/Build tools/perf/tests/bitmap.c tools/perf/tests/builtin-test.c +1 more+59 -00 replies
5/7perf tools: Move config/Makefile into Makefile.configtools/perf/Makefile.config tools/perf/Makefile.perf tools/perf/config/Makefile+877 -8770 replies
6/7perf tools: Introduce hists__output_resort_cb functiontools/perf/util/hist.c tools/perf/util/hist.h+16 -30 replies
7/7perf tools: Add --sample-cpu option to record commandtools/perf/Documentation/perf-record.txt tools/perf/builtin-record.c tools/perf/perf.h +1 more+6 -10 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/7] perf tools: Several fixes

hi,
sending assorted fixes that will be needed for c2c patchset.

I understand it's mostly adding new functions with no user ATM, but they are quite generic and could be useful for others as well.

Accepting this would lower the volume of the c2c patchset I intent to send out ;-) Also available in;
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/fixes

thanks,
jirka

---
Jiri Olsa (7):
tools lib: Add bitmap_alloc function
tools lib: Add bitmap_snprintf function tools lib: Add bitmap_and function
perf tests: Add test for bitmap_snprintf function perf tools: Move config/Makefile into Makefile.config perf tools: Introduce hists__output_resort_cb function perf tools: Add --sample-cpu option to record command

 tools/include/linux/bitmap.h                    | 37 +++++++++++++++++++++++++++++++++++++
 tools/lib/bitmap.c                              | 44 ++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/Documentation/perf-record.txt        |  3 +++
 tools/perf/{config/Makefile => Makefile.config} |  0
 tools/perf/Makefile.perf                        |  6 +++---
 tools/perf/builtin-record.c                     |  1 +
 tools/perf/perf.h                               |  1 +
 tools/perf/tests/Build                          |  1 +
 tools/perf/tests/bitmap.c                       | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/tests/builtin-test.c                 |  4 ++++
 tools/perf/tests/tests.h                        |  1 +
 tools/perf/util/evsel.c                         |  2 +-
 tools/perf/util/hist.c                          | 15 ++++++++++++---
 tools/perf/util/hist.h                          |  4 ++++
 14 files changed, 165 insertions(+), 7 deletions(-)
 rename tools/perf/{config/Makefile => Makefile.config} (100%)
 create mode 100644 tools/perf/tests/bitmap.c