# git rev-parse -q --verify 68b59730459e5d1fe4e0bbeb04ceb9df0f002270^{commit} 68b59730459e5d1fe4e0bbeb04ceb9df0f002270 already have revision, skipping fetch # git checkout -q -f -B kisskb 68b59730459e5d1fe4e0bbeb04ceb9df0f002270 # git clean -qxdf # < git log -1 # commit 68b59730459e5d1fe4e0bbeb04ceb9df0f002270 # Merge: f669aac34c5f 7a2fb5619cc1 # Author: Linus Torvalds # Date: Thu Jul 18 14:16:35 2024 -0700 # # Merge tag 'perf-tools-for-v6.11-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools # # Pull perf tools updates from Namhyung Kim: # "Build: # # - Build each directory as a library so that depedency check for the # python extension module can be automatic # # - Use pkg-config to check libtraceevent and libtracefs # # perf sched: # # - Add --task-name and --fuzzy-name options for `perf sched map` # # It focuses on selected tasks only by removing unrelated tasks in # the output. It matches the task comm with the given string and the # --fuzzy-name option allows the partial matching: # # $ sudo perf sched record -a sleep 1 # # $ sudo perf sched map --task-name kworker --fuzzy-name # . . . . - *A0 . . 481065.315131 secs A0 => kworker/5:2-i91:438521 # . . . . - *- . . 481065.315160 secs # *B0 . . . - . . . 481065.316435 secs B0 => kworker/0:0-i91:437860 # *- . . . . . . . 481065.316441 secs # . . . . . *A0 . . 481065.318703 secs # . . . . . *- . . 481065.318717 secs # . . *C0 . . . . . 481065.320544 secs C0 => kworker/u16:30-:430186 # . . *- . . . . . 481065.320555 secs # . . *D0 . . . . . 481065.328524 secs D0 => kworker/2:0-kdm:429654 # *B0 . D0 . - . . . 481065.328527 secs # *- . D0 . - . . . 481065.328535 secs # . . *- . . . . . 481065.328535 secs # # - Fix -r/--repeat option of perf sched replay # # The documentation said -1 will work as infinity but it didn't # accept the value. Update the code and document to use 0 instead # # - Fix perf sched timehist to account the delay time for preempted # tasks # # Perf event filtering: # # - perf top gained filtering support on regular events using BPF like # perf record. Previously it was able to use it for tracepoints only # # - The BPF filter now supports filtering by UID/GID. This should be # preferred than -u option as it's racy to scan /proc to check # tasks for the user and fails to open an event for the task if it's # already gone # # $ sudo perf top -e cycles --filter "uid == $(id -u)" # # perf report: # # - Skip dummy events in the group output by default. The --skip-empty # option controls display of empty events without samples. But perf # report can force display all events in a group # # In this case, auto-added a dummy event (for a system-wide record) # ends up in the output. Now it can skip those empty events even in # the group display mode # # To preserve the old behavior, run this: # # $ perf report --group --no-skip-empty # # perf stat: # # - Choose the most disaggregate option when multiple aggregation # options are given. It used to pick the last option in the command # line but it can be confusing and not consistent. Now it'll choose # the smallest unit # # For example, it'd aggregate the result per-core when the user gave # both --per-socket and --per-core options at the same time # # Internals: # # - Fix `perf bench` when some CPUs are offline # # - Fix handling of JIT symbol mappings to accept "/tmp/perf-${PID}.map # patterns only so that it can not be confused by other /tmp/perf-* # files # # - Many improvements and fixes for `perf test` # # Others: # # - Support some new instructions for Intel-PT # # - Fix syscall ID mapping in perf trace # # - Document AMD IBS PMU usages # # - Change `perf lock info` to show map and thread info by default # # Vendor JSON events: # # - Update Intel events and metrics # # - Add i.MX9[35] DDR metrics" # # * tag 'perf-tools-for-v6.11-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (125 commits) # perf trace: Fix iteration of syscall ids in syscalltbl->entries # perf dso: Fix address sanitizer build # perf mem: Warn if memory events are not supported on all CPUs # perf arm-spe: Support multiple Arm SPE PMUs # perf build x86: Fix SC2034 error in syscalltbl.sh # perf record: Fix memset out-of-range error # perf sched map: Add --fuzzy-name option for fuzzy matching in task names # perf sched map: Add support for multiple task names using CSV # perf sched map: Add task-name option to filter the output map # perf build: Conditionally add feature check flags for libtrace{event,fs} # perf install: Don't propagate subdir to Documentation submake # perf vendor events arm64:: Add i.MX95 DDR Performance Monitor metrics # perf vendor events arm64:: Add i.MX93 DDR Performance Monitor metrics # perf dsos: When adding a dso into sorted dsos maintain the sort order # perf comm str: Avoid sort during insert # perf report: Calling available function for stats printing # perf intel-pt: Fix exclude_guest setting # perf intel-pt: Fix aux_watermark calculation for 64-bit size # perf sched replay: Fix -r/--repeat command line option for infinity # perf: pmus: Remove unneeded semicolon # ... # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 68b59730459e5d1fe4e0bbeb04ceb9df0f002270 # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sparc/vdso/vclock_gettime.c:254:1: error: no previous prototype for '__vdso_clock_gettime' [-Werror=missing-prototypes] 254 | __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:282:1: error: no previous prototype for '__vdso_clock_gettime_stick' [-Werror=missing-prototypes] 282 | __vdso_clock_gettime_stick(clockid_t clock, struct __kernel_old_timespec *ts) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:307:1: error: no previous prototype for '__vdso_gettimeofday' [-Werror=missing-prototypes] 307 | __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/vdso/vclock_gettime.c:343:1: error: no previous prototype for '__vdso_gettimeofday_stick' [-Werror=missing-prototypes] 343 | __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/vdso/vclock_gettime.o] Error 1 make[5]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sparc/power/hibernate.c:22:5: error: no previous prototype for 'pfn_is_nosave' [-Werror=missing-prototypes] 22 | int pfn_is_nosave(unsigned long pfn) | ^~~~~~~~~~~~~ /kisskb/src/arch/sparc/power/hibernate.c:30:6: error: no previous prototype for 'save_processor_state' [-Werror=missing-prototypes] 30 | void save_processor_state(void) | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/power/hibernate.c:35:6: error: no previous prototype for 'restore_processor_state' [-Werror=missing-prototypes] 35 | void restore_processor_state(void) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/power/hibernate.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/power] Error 2 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/vdso] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sparc/prom/misc_64.c:165:5: error: no previous prototype for 'prom_get_mmu_ihandle' [-Werror=missing-prototypes] 165 | int prom_get_mmu_ihandle(void) | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/prom/misc_64.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/prom] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc] Error 2 /kisskb/src/kernel/fork.c: In function '__do_sys_clone3': /kisskb/src/kernel/fork.c:3071:2: error: #warning clone3() entry point is missing, please fix [-Werror=cpp] 3071 | #warning clone3() entry point is missing, please fix | ^~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: kernel/fork.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: kernel] Error 2 In file included from /kisskb/src/arch/sparc/include/asm/floppy.h:5, from /kisskb/src/drivers/block/floppy.c:250: /kisskb/src/arch/sparc/include/asm/floppy_64.h:200:13: error: no previous prototype for 'sparc_floppy_irq' [-Werror=missing-prototypes] 200 | irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/sparc/include/asm/floppy_64.h:437:6: error: no previous prototype for 'sun_pci_fd_dma_callback' [-Werror=missing-prototypes] 437 | void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/block/floppy.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/block] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1934: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc13 # Build took: 0:09:24.584626