# git rev-parse -q --verify 29c73fc794c83505066ee6db893b2a83ac5fac63^{commit} 29c73fc794c83505066ee6db893b2a83ac5fac63 already have revision, skipping fetch # git checkout -q -f -B kisskb 29c73fc794c83505066ee6db893b2a83ac5fac63 # git clean -qxdf # < git log -1 # commit 29c73fc794c83505066ee6db893b2a83ac5fac63 # Merge: 4865a27c66fd ea558c86248b # Author: Linus Torvalds # Date: Tue May 21 15:45:14 2024 -0700 # # Merge tag 'perf-tools-for-v6.10-1-2024-05-21' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools # # Pull perf tools updates from Arnaldo Carvalho de Melo: # "General: # # - Integrate the shellcheck utility with the build of perf to allow # catching shell problems early in areas such as 'perf test', 'perf # trace' scrape scripts, etc # # - Add 'uretprobe' variant in the 'perf bench uprobe' tool # # - Add script to run instances of 'perf script' in parallel # # - Allow parsing tracepoint names that start with digits, such as # 9p/9p_client_req, etc. Make sure 'perf test' tests it even on # systems where those tracepoints aren't available # # - Add Kan Liang to MAINTAINERS as a perf tools reviewer # # - Add support for using the 'capstone' disassembler library in # various tools, such as 'perf script' and 'perf annotate'. This is # an alternative for the use of the 'xed' and 'objdump' disassemblers # # Data-type profiling improvements: # # - Resolve types for a->b->c by backtracking the assignments until it # finds DWARF info for one of those members # # - Support for global variables, keeping a cache to speed up lookups # # - Handle the 'call' instruction, dealing with effects on registers # and handling its return when tracking register data types # # - Handle x86's segment based addressing like %gs:0x28, to support # things like per CPU variables, the stack canary, etc # # - Data-type profiling got big speedups when using capstone for # disassembling. The objdump outoput parsing method is left as a # fallback when capstone fails or isn't available. There are patches # posted for 6.11 that to use a LLVM disassembler # # - Support event group display in the TUI when annotating types with # --data-type, for instance to show memory load and store events for # the data type fields # # - Optimize the 'perf annotate' data structures, reducing memory usage # # - Add a initial 'perf test' for 'perf annotate', checking that a # target symbol appears on the output, specifying objdump via the # command line, etc # # Vendor Events: # # - Update Intel JSON files for Cascade Lake X, Emerald Rapids, Grand # Ridge, Ice Lake X, Lunar Lake, Meteor Lake, Sapphire Rapids, Sierra # Forest, Sky Lake X, Sky Lake and Snow Ridge X. Remove info metrics # erroneously in TopdownL1 # # - Add AMD's Zen 5 core and uncore events and metrics. Those come from # the "Performance Monitor Counters for AMD Family 1Ah Model 00h- 0Fh # Processors" document, with events that capture information on op # dispatch, execution and retirement, branch prediction, L1 and L2 # cache activity, TLB activity, etc # # - Mark L1D_CACHE_INVAL impacted by errata for ARM64's AmpereOne/ # AmpereOneX # # Miscellaneous: # # - Sync header copies with the kernel sources # # - Move some header copies used only for generating translation string # tables for ioctl cmds and other syscall integer arguments to a new # directory under tools/perf/beauty/, to separate from copies in # tools/include/ that are used to build the tools # # - Introduce scrape script for several syscall 'flags'/'mask' # arguments # # - Improve cpumap utilization, fixing up pairing of refcounts, using # the right iterators (perf_cpu_map__for_each_cpu), etc # # - Give more details about raw event encodings in 'perf list', show # tracepoint encoding in the detailed output # # - Refactor the DSOs handling code, reducing memory usage # # - Document the BPF event modifier and add a 'perf test' for it # # - Improve the event parser, better error messages and add further # 'perf test's for it # # - Add reference count checking to 'struct comm_str' and 'struct # mem_info' # # - Make ARM64's 'perf test' entries for the Neoverse N1 more robust # # - Tweak the ARM64's Coresight 'perf test's # # - Improve ARM64's CoreSight ETM version detection and error reporting # # - Fix handling of symbols when using kcore # # - Fix PAI (Processor Activity Instrumentation) counter names for s390 # virtual machines in 'perf report' # # - Fix -g/--call-graph option failure in 'perf sched timehist' # # - Add LIBTRACEEVENT_DIR build option to allow building with # libtraceevent installed in non-standard directories, such as when # doing cross builds # # - Various 'perf test' and 'perf bench' fixes # # - Improve 'perf probe' error message for long C++ probe names" # # * tag 'perf-tools-for-v6.10-1-2024-05-21' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (260 commits) # tools lib subcmd: Show parent options in help # perf pmu: Count sys and cpuid JSON events separately # perf stat: Don't display metric header for non-leader uncore events # perf annotate-data: Ensure the number of type histograms # perf annotate: Fix segfault on sample histogram # perf daemon: Fix file leak in daemon_session__control # libsubcmd: Fix parse-options memory leak # perf lock: Avoid memory leaks from strdup() # perf sched: Rename 'switches' column header to 'count' and add usage description, options for latency # perf tools: Ignore deleted cgroups # perf parse: Allow tracepoint names to start with digits # perf parse-events: Add new 'fake_tp' parameter for tests # perf parse-events: pass parse_state to add_tracepoint # perf symbols: Fix ownership of string in dso__load_vmlinux() # perf symbols: Update kcore map before merging in remaining symbols # perf maps: Re-use __maps__free_maps_by_name() # perf symbols: Remove map from list before updating addresses # perf tracepoint: Don't scan all tracepoints to test if one exists # perf dwarf-aux: Fix build with HAVE_DWARF_CFI_SUPPORT # perf thread: Fixes to thread__new() related to initializing comm # ... # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 29c73fc794c83505066ee6db893b2a83ac5fac63 # make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] cc1: warning: unrecognized command line option '-Wno-shift-negative-value' cc1: warning: unrecognized command line option '-Wno-stringop-overflow' /kisskb/src/arch/sparc/prom/p1275.c:52:6: error: no previous prototype for 'prom_cif_init' [-Werror=missing-prototypes] void prom_cif_init(void *cif_handler, void *cif_stack) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors /kisskb/src/arch/sparc/prom/misc_64.c:165:5: error: no previous prototype for 'prom_get_mmu_ihandle' [-Werror=missing-prototypes] int prom_get_mmu_ihandle(void) ^ make[4]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/prom/p1275.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/arch/sparc/power/hibernate.c:22:5: error: no previous prototype for 'pfn_is_nosave' [-Werror=missing-prototypes] 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] 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] void restore_processor_state(void) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] 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.... cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/prom/misc_64.o] Error 1 /kisskb/src/arch/sparc/vdso/vma.c:246:12: error: no previous prototype for 'init_vdso_image' [-Werror=missing-prototypes] int __init init_vdso_image(const struct vdso_image *image, ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/vdso/vma.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/vdso] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/prom] Error 2 /kisskb/src/arch/sparc/kernel/traps_64.c:253:6: error: no previous prototype for 'is_no_fault_exception' [-Werror=missing-prototypes] bool is_no_fault_exception(struct pt_regs *regs) ^ /kisskb/src/arch/sparc/kernel/traps_64.c:2035:6: error: no previous prototype for 'do_mcd_err' [-Werror=missing-prototypes] void do_mcd_err(struct pt_regs *regs, struct sun4v_error_entry ent) ^ /kisskb/src/arch/sparc/kernel/traps_64.c:2153:6: error: no previous prototype for 'sun4v_nonresum_error_user_handled' [-Werror=missing-prototypes] bool sun4v_nonresum_error_user_handled(struct pt_regs *regs, ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/kernel/traps_64.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/kernel] Error 2 /kisskb/src/arch/sparc/mm/init_64.c:2644:6: error: no previous prototype for 'vmemmap_free' [-Werror=missing-prototypes] void vmemmap_free(unsigned long start, unsigned long end, ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/sparc/mm/init_64.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc/mm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/sparc] Error 2 In file included from /kisskb/src/arch/sparc/include/asm/floppy.h:5:0, 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] irqreturn_t sparc_floppy_irq(int irq, void *dev_cookie) ^ In file included from /kisskb/src/arch/sparc/include/asm/floppy.h:5:0, from /kisskb/src/drivers/block/floppy.c:250: /kisskb/src/arch/sparc/include/asm/floppy_64.h:437:6: error: no previous prototype for 'sun_pci_fd_dma_callback' [-Werror=missing-prototypes] void sun_pci_fd_dma_callback(struct ebus_dma_info *p, int event, void *cookie) ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/block/floppy.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/block] Error 2 make[4]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:16:9: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] #pragma GCC diagnostic ignored "-Wunused-const-variable" ^ In file included from /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:18:0: /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_0_0_snapshot.h:924:19: error: 'gen7_0_0_external_core_regs' defined but not used [-Werror=unused-variable] static const u32 *gen7_0_0_external_core_regs[] = { ^ In file included from /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:19:0: /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_2_0_snapshot.h:748:19: error: 'gen7_2_0_external_core_regs' defined but not used [-Werror=unused-variable] static const u32 *gen7_2_0_external_core_regs[] = { ^ In file included from /kisskb/src/drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:20:0: /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h:1188:43: error: 'gen7_9_0_sptp_clusters' defined but not used [-Werror=unused-variable] static struct gen7_sptp_cluster_registers gen7_9_0_sptp_clusters[] = { ^ /kisskb/src/drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h:1438:19: error: 'gen7_9_0_external_core_regs' defined but not used [-Werror=unused-variable] static const u32 *gen7_9_0_external_core_regs[] = { ^ cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-shift-negative-value' [-Werror] cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror] cc1: all warnings being treated as errors make[7]: *** [/kisskb/src/scripts/Makefile.build:244: drivers/gpu/drm/msm/adreno/a6xx_gpu_state.o] Error 1 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu/drm] Error 2 make[4]: *** [/kisskb/src/scripts/Makefile.build:485: drivers/gpu] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/kisskb/src/Makefile:1929: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc5 # Build took: 0:06:04.315639