# git rev-parse -q --verify e8f60cd7db24f94f2dbed6bec30dd16a68fc0828^{commit} e8f60cd7db24f94f2dbed6bec30dd16a68fc0828 already have revision, skipping fetch # git checkout -q -f -B kisskb e8f60cd7db24f94f2dbed6bec30dd16a68fc0828 # git clean -qxdf # < git log -1 # commit e8f60cd7db24f94f2dbed6bec30dd16a68fc0828 # Merge: 7dd4b804e080 cf129830ee82 # Author: Linus Torvalds # Date: Wed Jan 11 17:12:14 2023 -0600 # # Merge tag 'perf-tools-fixes-for-v6.2-2-2023-01-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux # # Pull perf tools fixes from Arnaldo Carvalho de Melo: # # - Make 'perf kmem' cope with the removal of some # kmem:kmem_cache_alloc_node and kmem:kmalloc_node in the # 11e9734bcb6a7361 ("mm/slab_common: unify NUMA and UMA version of # tracepoints") commit, making sure it works with Linux >= 6.2 as well # as with older kernels where those tracepoints are present. # # - Also make it handle the new "node" kmem:kmalloc and # kmem:kmem_cache_alloc tracepoint field introduced in that same # commit. # # - Fix hardware tracing PMU address filter duplicate symbol selection, # that was preventing to match with static functions with the same name # present in different object files. # # - Fix regression on what linux/types.h file gets used to build the "BPF # prologue" 'perf test' entry, the system one lacks the fmode_t # definition used in this test, so provide that type in the test # itself. # # - Avoid build breakage with libbpf < 0.8.0 + LIBBPF_DYNAMIC=1. If the # user asks for linking with the libbpf package provided by the distro, # then it has to be >= 0.8.0. Using the libbpf supplied with the kernel # would be a fallback in that case. # # - Fix the build when libbpf isn't available or explicitly disabled via # NO_LIBBPF=1. # # - Don't try to install libtraceevent plugins as its not anymore in the # kernel sources and will thus always fail. # # * tag 'perf-tools-fixes-for-v6.2-2-2023-01-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: # perf auxtrace: Fix address filter duplicate symbol selection # perf bpf: Avoid build breakage with libbpf < 0.8.0 + LIBBPF_DYNAMIC=1 # perf build: Fix build error when NO_LIBBPF=1 # perf tools: Don't install libtraceevent plugins as its not anymore in the kernel sources # perf kmem: Support field "node" in evsel__process_alloc_event() coping with recent tracepoint restructuring # perf kmem: Support legacy tracepoints # perf build: Properly guard libbpf includes # perf tests bpf prologue: Fix bpf-script-test-prologue test compile issue with clang # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 e8f60cd7db24f94f2dbed6bec30dd16a68fc0828 # < make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/smp.h:13, from /kisskb/src/include/linux/lockdep.h:14, from /kisskb/src/include/linux/rcupdate.h:29, from /kisskb/src/include/linux/rculist.h:11, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/arch/s390/kernel/setup.c:21: /kisskb/src/arch/s390/kernel/setup.c: In function 'setup_lowcore_dat_on': /kisskb/src/include/linux/fortify-string.h:57:33: error: '__builtin_memcpy' reading 128 bytes from a region of size 0 [-Werror=stringop-overread] 57 | #define __underlying_memcpy __builtin_memcpy | ^ /kisskb/src/include/linux/fortify-string.h:578:9: note: in expansion of macro '__underlying_memcpy' 578 | __underlying_##op(p, q, __fortify_size); \ | ^~~~~~~~~~~~~ /kisskb/src/include/linux/fortify-string.h:623:26: note: in expansion of macro '__fortify_memcpy_chk' 623 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/s390/kernel/setup.c:526:9: note: in expansion of macro 'memcpy' 526 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: arch/s390/kernel/setup.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:504: arch/s390/kernel] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:504: arch/s390] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2008: .] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Command 'make -s -j 160 ARCH=s390 O=/kisskb/build/linus_s390-allyesconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_s390-allyesconfig_s390x-gcc11 # Build took: 0:07:04.904925