Skip to content

tools,libperf: Assorted fixes

Jiri Olsa lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5tools: Add missing perf_event.h includetools/include/linux/ring_buffer.h+1 -01 reply
2/5libperf: Use perf_cpu_map__nr instead of cpu_map__nrtools/perf/arch/arm/util/cs-etm.c tools/perf/util/cpumap.h tools/perf/util/evlist.c +2 more+9 -140 replies
3/5libperf: Move cpu_map__empty to perf_cpu_map__emptytools/perf/arch/arm/util/cs-etm.c tools/perf/arch/x86/util/intel-bts.c tools/perf/arch/x86/util/intel-pt.c +11 more+32 -290 replies
4/5libperf: Move cpu_map__idx to perf_cpu_map__idxtools/perf/lib/cpumap.c tools/perf/lib/include/internal/cpumap.h tools/perf/util/cpumap.c +2 more+16 -150 replies
5/5libperf: Add perf_thread_map__nr/perf_thread_map__pid functionstools/perf/builtin-ftrace.c tools/perf/builtin-script.c tools/perf/builtin-stat.c +14 more+45 -411 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] tools,libperf: Assorted fixes

hi,
sending fixes for tools and libperf.

thanks,
jirka

---
Jiri Olsa (5):
tools: Add missing perf_event.h include
libperf: Use perf_cpu_map__nr instead of cpu_map__nr
libperf: Move cpu_map__empty to perf_cpu_map__empty
libperf: Move cpu_map__idx to perf_cpu_map__idx
libperf: Add perf_thread_map__nr/perf_thread_map__pid functions

 tools/include/linux/ring_buffer.h                      |  1 +
 tools/perf/arch/arm/util/cs-etm.c                      | 12 ++++++------
 tools/perf/arch/x86/util/intel-bts.c                   |  4 ++--
 tools/perf/arch/x86/util/intel-pt.c                    | 10 +++++-----
 tools/perf/builtin-c2c.c                               |  2 +-
 tools/perf/builtin-ftrace.c                            |  2 +-
 tools/perf/builtin-script.c                            |  4 ++--
 tools/perf/builtin-stat.c                              |  8 ++++----
 tools/perf/builtin-trace.c                             |  4 ++--
 tools/perf/lib/cpumap.c                                | 17 +++++++++++++++++
 tools/perf/lib/include/internal/cpumap.h               |  2 ++
 tools/perf/lib/include/perf/cpumap.h                   |  2 ++
 tools/perf/lib/include/perf/threadmap.h                |  2 ++
 tools/perf/lib/libperf.map                             |  3 +++
 tools/perf/lib/threadmap.c                             | 10 ++++++++++
 tools/perf/tests/thread-map.c                          |  6 +++---
 tools/perf/util/auxtrace.c                             |  4 ++--
 tools/perf/util/cpumap.c                               | 20 ++++----------------
 tools/perf/util/cpumap.h                               | 13 +------------
 tools/perf/util/event.c                                | 10 +++++-----
 tools/perf/util/evlist.c                               | 30 +++++++++++++++---------------
 tools/perf/util/evsel.c                                |  4 ++--
 tools/perf/util/mmap.c                                 |  2 +-
 tools/perf/util/record.c                               |  2 +-
 tools/perf/util/scripting-engines/trace-event-python.c |  2 +-
 tools/perf/util/stat-display.c                         |  6 +++---
 tools/perf/util/stat.c                                 |  6 +++---
 tools/perf/util/thread_map.c                           |  4 ++--
 tools/perf/util/thread_map.h                           | 10 ----------
 29 files changed, 103 insertions(+), 99 deletions(-)