[GIT PULL] perf tools fixes for v6.4: 2nd batch

From: Arnaldo Carvalho de Melo
Date: Tue May 30 2023 - 16:02:26 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo


The following changes since commit 0d85b27b0cc6b5cf54567c5ad913a247a71583ce:

Merge tag '6.4-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 (2023-05-25 19:23:18 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.4-2-2023-05-30

for you to fetch changes up to c041d33bf7ec731bb71f47e4d45a7aec9e40b1b9:

perf evsel: Separate bpf_counter_list and bpf_filters, can be used at the same time (2023-05-26 16:03:43 -0300)

----------------------------------------------------------------
perf tools fixes for v6.4: 2nd batch

- Fix BPF CO-RE naming convention for checking the availability of fields on
'union perf_mem_data_src' on the running kernel.

- Remove the use of llvm-strip on BPF skel object files, not needed, fixes a
build breakage when the llvm package, that contains it in most distros, isn't
installed.

- Fix tools that use both evsel->{bpf_counter_list,bpf_filters}, removing them from a
union.

- Remove extra "--" from the 'perf ftrace latency' --use-nsec option,
previously it was working only when using the '-n' alternative.

- Don't stop building when both binutils-devel and a C++ compiler isn't
available to compile the alternative C++ demangle support code, disable that
feature instead.

- Sync the linux/in.h and coresight-pmu.h header copies with the kernel sources.

- Fix relative include path to cs-etm.h.

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
tools headers UAPI: Sync the linux/in.h with the kernel sources

Ian Rogers (2):
perf arm: Fix include path to cs-etm.h
perf build: Don't compile demangle-cxx.cpp if not necessary

James Clark (1):
perf cs-etm: Copy kernel coresight-pmu.h header

Namhyung Kim (2):
perf ftrace latency: Remove unnecessary "--" from --use-nsec option
perf bpf filter: Fix a broken perf sample data naming for BPF CO-RE

Song Liu (2):
perf bpf: Do not use llvm-strip on BPF binary
perf evsel: Separate bpf_counter_list and bpf_filters, can be used at the same time

tools/include/linux/coresight-pmu.h | 13 -------------
tools/include/uapi/linux/in.h | 1 +
tools/perf/Makefile.config | 1 +
tools/perf/Makefile.perf | 3 +--
tools/perf/arch/arm/util/pmu.c | 2 +-
tools/perf/builtin-ftrace.c | 2 +-
tools/perf/util/Build | 2 +-
tools/perf/util/bpf_skel/sample_filter.bpf.c | 4 ++--
tools/perf/util/cs-etm.h | 13 +++++++++++++
tools/perf/util/evsel.c | 1 +
tools/perf/util/evsel.h | 6 ++----
tools/perf/util/symbol-elf.c | 27 +++++++++++++++++++++++++++
12 files changed, 51 insertions(+), 24 deletions(-)