Skip to content

perf tools: Assorted fixes

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10perf tools: Compile perf with libperf-in.o instead of libperf.atools/perf/Makefile.perf+8 -80 replies
2/10perf tools: Rename LIB_FILE to LIBPERF_Atools/perf/Makefile.perf+3 -30 replies
3/10perf tools: Rename build libperf to perftools/perf/Build tools/perf/arch/Build tools/perf/arch/arm/Build +33 more+260 -2600 replies
4/10perf tools: Fix legacy events symbol separator parsingtools/perf/tests/parse-events.c tools/perf/util/parse-events.y+32 -20 replies
5/10perf list: Display metric expressions for --details optiontools/perf/builtin-list.c tools/perf/util/metricgroup.c tools/perf/util/metricgroup.h +1 more+14 -70 replies
6/10perf header: Fix wrong node write in NUMA_TOPOLOGY featuretools/perf/util/header.c+1 -11 reply
7/10perf header: Get rid of write_it labeltools/perf/util/header.c+2 -40 replies
8/10perf header: Remove cpu_nr from struct cpu_topotools/perf/util/header.c+0 -20 replies
9/10perf tools: Add perf_topo_cpu objecttools/perf/util/Build tools/perf/util/cputopo.c tools/perf/util/cputopo.h +1 more+166 -1461 reply
10/10perf tools: Add perf_topo_numa objecttools/perf/util/cputopo.c tools/perf/util/cputopo.h tools/perf/util/header.c+162 -930 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] perf tools: Assorted fixes

hi,
sending assorted general fixes that queued
up in my other branches.

Also available in here:
https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/fixes

thanks,
jirka

---
Jiri Olsa (10):
perf tools: Compile perf with libperf-in.o instead of libperf.a perf tools: Rename LIB_FILE to LIBPERF_A
perf tools: Rename build libperf to perf
perf tools: Fix legacy events symbol separator parsing perf list: Display metric expressions for --details option perf header: Fix wrong node write in NUMA_TOPOLOGY feature perf header: Get rid of write_it label
perf header: Remove cpu_nr from struct cpu_topo
perf tools: Add perf_topo_cpu object
perf tools: Add perf_topo_numa object

 tools/perf/Build                                |  10 +++---
 tools/perf/Makefile.perf                        |  22 ++++++------
 tools/perf/arch/Build                           |   4 +--
 tools/perf/arch/arm/Build                       |   4 +--
 tools/perf/arch/arm/tests/Build                 |   8 ++---
 tools/perf/arch/arm/util/Build                  |   8 ++---
 tools/perf/arch/arm64/Build                     |   4 +--
 tools/perf/arch/arm64/tests/Build               |   6 ++--
 tools/perf/arch/arm64/util/Build                |  12 +++----
 tools/perf/arch/nds32/Build                     |   2 +-
 tools/perf/arch/nds32/util/Build                |   2 +-
 tools/perf/arch/powerpc/Build                   |   4 +--
 tools/perf/arch/powerpc/tests/Build             |   6 ++--
 tools/perf/arch/powerpc/util/Build              |  18 +++++-----
 tools/perf/arch/s390/Build                      |   2 +-
 tools/perf/arch/s390/util/Build                 |  12 +++----
 tools/perf/arch/sh/Build                        |   2 +-
 tools/perf/arch/sh/util/Build                   |   2 +-
 tools/perf/arch/sparc/Build                     |   2 +-
 tools/perf/arch/sparc/util/Build                |   2 +-
 tools/perf/arch/x86/Build                       |   4 +--
 tools/perf/arch/x86/tests/Build                 |  14 ++++----
 tools/perf/arch/x86/util/Build                  |  30 ++++++++--------
 tools/perf/arch/xtensa/Build                    |   2 +-
 tools/perf/arch/xtensa/util/Build               |   2 +-
 tools/perf/builtin-list.c                       |   8 ++---
 tools/perf/scripts/Build                        |   4 +--
 tools/perf/scripts/perl/Perf-Trace-Util/Build   |   2 +-
 tools/perf/scripts/python/Perf-Trace-Util/Build |   2 +-
 tools/perf/tests/parse-events.c                 |  30 ++++++++++++++++
 tools/perf/trace/beauty/Build                   |  26 +++++++-------
 tools/perf/ui/Build                             |  18 +++++-----
 tools/perf/ui/browsers/Build                    |  10 +++---
 tools/perf/ui/tui/Build                         |   8 ++---
 tools/perf/util/Build                           | 277 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------
 tools/perf/util/c++/Build                       |   4 +--
 tools/perf/util/cputopo.c                       | 264 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/perf/util/cputopo.h                       |  33 +++++++++++++++++
 tools/perf/util/cs-etm-decoder/Build            |   2 +-
 tools/perf/util/header.c                        | 277 +++++++++++++++++------------------------------------------------------------------------------------------------------------------------------
 tools/perf/util/intel-pt-decoder/Build          |   2 +-
 tools/perf/util/metricgroup.c                   |   8 ++++-
 tools/perf/util/metricgroup.h                   |   3 +-
 tools/perf/util/parse-events.c                  |   2 +-
 tools/perf/util/parse-events.y                  |   4 +--
 tools/perf/util/scripting-engines/Build         |   4 +--
 46 files changed, 647 insertions(+), 525 deletions(-)
 create mode 100644 tools/perf/util/cputopo.c
 create mode 100644 tools/perf/util/cputopo.h