# git rev-parse -q --verify 00e4db51259a5f936fec1424b884f029479d3981^{commit} 00e4db51259a5f936fec1424b884f029479d3981 already have revision, skipping fetch # git checkout -q -f -B kisskb 00e4db51259a5f936fec1424b884f029479d3981 # git clean -qxdf # < git log -1 # commit 00e4db51259a5f936fec1424b884f029479d3981 # Merge: ed3854ff994b 1101c872c8c7 # Author: Linus Torvalds # Date: Mon Aug 10 19:21:38 2020 -0700 # # Merge tag 'perf-tools-2020-08-10' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux # # Pull perf tools updates from Arnaldo Carvalho de Melo: # "New features: # # - Introduce controlling how 'perf stat' and 'perf record' works via a # control file descriptor, allowing starting with events configured # but disabled until commands are received via the control file # descriptor. This allows, for instance for tools such as Intel VTune # to make further use of perf as its Linux platform driver. # # - Improve 'perf record' to to register in a perf.data file header the # clockid used to help later correlate things like syslog files and # perf events recorded. # # - Add basic syscall and find_next_bit benchmarks to 'perf bench'. # # - Allow using computed metrics in calculating other metrics. For # instance: # # { # .metric_expr = "l2_rqsts.demand_data_rd_hit + l2_rqsts.pf_hit + l2_rqsts.rfo_hit", # .metric_name = "DCache_L2_All_Hits", # }, # { # .metric_expr = "max(l2_rqsts.all_demand_data_rd - l2_rqsts.demand_data_rd_hit, 0) + l2_rqsts.pf_miss + l2_rqsts.rfo_miss", # .metric_name = "DCache_L2_All_Miss", # }, # { # .metric_expr = "dcache_l2_all_hits + dcache_l2_all_miss", # .metric_name = "DCache_L2_All", # } # # - Add suport for 'd_ratio', '>' and '<' operators to the expression # resolver used in calculating metrics in 'perf stat'. # # Support for new kernel features: # # - Support TEXT_POKE and KSYMBOL_TYPE_OOL perf metadata events to cope # with things like ftrace, trampolines, i.e. changes in the kernel # text that gets in the way of properly decoding Intel PT hardware # traces, for instance. # # Intel PT: # # - Add various knobs to reduce the volume of Intel PT traces by # reducing the level of details such as decoding just some types of # packets (e.g., FUP/TIP, PSB+), also filtering by time range. # # - Add new itrace options (log flags to the 'd' option, error flags to # the 'e' one, etc), controlling how Intel PT is transformed into # perf events, document some missing options (e.g., how to synthesize # callchains). # # BPF: # # - Properly report BPF errors when parsing events. # # - Do not setup side-band events if LIBBPF is not linked, fixing a # segfault. # # Libraries: # # - Improvements to the libtraceevent plugin mechanism. # # - Improve libtracevent support for KVM trace events SVM exit reasons. # # - Add a libtracevent plugins for decoding syscalls/sys_enter_futex # and for tlb_flush. # # - Ensure sample_period is set libpfm4 events in 'perf test'. # # - Fixup libperf namespacing, to make sure what is in libperf has the # perf_ namespace while what is now only in tools/perf/ doesn't use # that prefix. # # Arch specific: # # - Improve the testing of vendor events and metrics in 'perf test'. # # - Allow no ARM CoreSight hardware tracer sink to be specified on # command line. # # - Fix arm_spe_x recording when mixed with other perf events. # # - Add s390 idle functions 'psw_idle' and 'psw_idle_exit' to list of # idle symbols. # # - List kernel supplied event aliases for arm64 in 'perf list'. # # - Add support for extended register capability in PowerPC 9 and 10. # # - Added nest IMC power9 metric events. # # Miscellaneous: # # - No need to setup sample_regs_intr/sample_regs_user for dummy # events. # # - Update various copies of kernel headers, some causing perf to # handle new syscalls, MSRs, etc. # # - Improve usage of flex and yacc, enabling warnings and addressing # the fallout. # # - Add missing '--output' option to 'perf kmem' so that it can pass it # along to 'perf record'. # # - 'perf probe' fixes related to adding multiple probes on the same # address for the same event. # # - Make 'perf probe' warn if the target function is a GNU indirect # function. # # - Remove //anon mmap events from 'perf inject jit' to fix supporting # both using ELF files for generated functions and the perf-PID.map # approaches" # # * tag 'perf-tools-2020-08-10' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (144 commits) # perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set # perf tools powerpc: Add support for extended regs in power10 # perf tools powerpc: Add support for extended register capability # tools headers UAPI: Sync drm/i915_drm.h with the kernel sources # tools arch x86: Sync asm/cpufeatures.h with the kernel sources # tools arch x86: Sync the msr-index.h copy with the kernel sources # tools headers UAPI: update linux/in.h copy # tools headers API: Update close_range affected files # perf script: Add 'tod' field to display time of day # perf script: Change the 'enum perf_output_field' enumerators to be 64 bits # perf data: Add support to store time of day in CTF data conversion # perf tools: Move clockid_res_ns under clock struct # perf header: Store clock references for -k/--clockid option # perf tools: Add clockid_name function # perf clockid: Move parse_clockid() to new clockid object # tools lib traceevent: Handle possible strdup() error in tep_add_plugin_path() API # libtraceevent: Fixed description of tep_add_plugin_path() API # libtraceevent: Fixed type in PRINT_FMT_STING # libtraceevent: Fixed broken indentation in parse_ip4_print_args() # libtraceevent: Improve error handling of tep_plugin_add_option() API # ... # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 00e4db51259a5f936fec1424b884f029479d3981 # < make -s -j 24 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_64BIT=n # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 24 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 24 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 24 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:7:0, from /kisskb/src/arch/sparc/include/asm/atomic_32.h:17, from /kisskb/src/arch/sparc/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/linux/page_counter.h:5, from /kisskb/src/mm/memcontrol.c:25: /kisskb/src/mm/memcontrol.c: In function 'memcg_reparent_objcgs': /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/mm/memcontrol.c:333:2: note: in expansion of macro 'xchg' xchg(&objcg->memcg, parent); ^ /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/mm/memcontrol.c:340:3: note: in expansion of macro 'xchg' xchg(&iter->memcg, parent); ^ /kisskb/src/drivers/tty/serial/sunzilog.c:1128:13: warning: 'sunzilog_putchar' defined but not used [-Wunused-function] static void sunzilog_putchar(struct uart_port *port, int ch) ^ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ /kisskb/src/sound/soc/tegra/tegra210_dmic.c:43:12: warning: 'tegra210_dmic_runtime_suspend' defined but not used [-Wunused-function] static int tegra210_dmic_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_dmic.c:55:12: warning: 'tegra210_dmic_runtime_resume' defined but not used [-Wunused-function] static int tegra210_dmic_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_i2s.c:167:12: warning: 'tegra210_i2s_runtime_suspend' defined but not used [-Wunused-function] static int tegra210_i2s_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_i2s.c:179:12: warning: 'tegra210_i2s_runtime_resume' defined but not used [-Wunused-function] static int tegra210_i2s_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra186_dspk.c:74:12: warning: 'tegra186_dspk_runtime_suspend' defined but not used [-Wunused-function] static int tegra186_dspk_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra186_dspk.c:86:12: warning: 'tegra186_dspk_runtime_resume' defined but not used [-Wunused-function] static int tegra186_dspk_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_ahub.c:567:12: warning: 'tegra_ahub_runtime_suspend' defined but not used [-Wunused-function] static int tegra_ahub_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_ahub.c:579:12: warning: 'tegra_ahub_runtime_resume' defined but not used [-Wunused-function] static int tegra_ahub_runtime_resume(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_admaif.c:222:12: warning: 'tegra_admaif_runtime_suspend' defined but not used [-Wunused-function] static int tegra_admaif_runtime_suspend(struct device *dev) ^ /kisskb/src/sound/soc/tegra/tegra210_admaif.c:232:12: warning: 'tegra_admaif_runtime_resume' defined but not used [-Wunused-function] static int tegra_admaif_runtime_resume(struct device *dev) ^ In file included from /kisskb/src/include/linux/printk.h:405:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/clk.h:13, from /kisskb/src/drivers/crypto/sa2ul.c:11: /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_sha_init': /kisskb/src/drivers/crypto/sa2ul.c:1486:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] crypto_ahash_digestsize(tfm), (u64)rctx); ^ /kisskb/src/include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call' func(&id, ##__VA_ARGS__); \ ^ /kisskb/src/include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt,__dynamic_dev_dbg, \ ^ /kisskb/src/include/linux/dev_printk.h:115:2: note: in expansion of macro 'dynamic_dev_dbg' dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/drivers/crypto/sa2ul.c:1485:2: note: in expansion of macro 'dev_dbg' dev_dbg(sa_k3_dev, "init: digest size: %d, rctx=%llx\n", ^ /kisskb/src/drivers/staging/media/tegra-vde/vde.c:916:12: warning: 'tegra_vde_runtime_suspend' defined but not used [-Wunused-function] static int tegra_vde_runtime_suspend(struct device *dev) ^ In file included from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:7:0, from /kisskb/src/arch/sparc/include/asm/atomic_32.h:17, from /kisskb/src/arch/sparc/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/sparc/include/asm/bitops_32.h:102, from /kisskb/src/arch/sparc/include/asm/bitops.h:7, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ocfs2/file.c:13: /kisskb/src/fs/ocfs2/file.c: In function 'ocfs2_file_write_iter': /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/fs/ocfs2/file.c:2419:3: note: in expansion of macro 'xchg' xchg(&iocb->ki_complete, saved_ki_complete); ^ In file included from /kisskb/src/arch/sparc/include/asm/cmpxchg.h:7:0, from /kisskb/src/arch/sparc/include/asm/atomic_32.h:17, from /kisskb/src/arch/sparc/include/asm/atomic.h:7, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/sparc/include/asm/bitops_32.h:102, from /kisskb/src/arch/sparc/include/asm/bitops.h:7, from /kisskb/src/include/linux/bitops.h:29, from /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:11: /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c: In function 'ixgbevf_xdp_setup': /kisskb/src/arch/sparc/include/asm/cmpxchg_32.h:28:22: warning: value computed is not used [-Wunused-value] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ /kisskb/src/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:4469:4: note: in expansion of macro 'xchg' xchg(&adapter->rx_ring[i]->xdp_prog, adapter->xdp_prog); ^ In file included from /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c:6:0: /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c: In function 'ice_free_flow_profs': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c:2921:9: note: in expansion of macro 'ICE_FLOW_ENTRY_HNDL' ICE_FLOW_ENTRY_HNDL(e)); ^ In file included from /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:5:0: /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c: In function 'ice_flow_add_entry': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:946:13: note: in expansion of macro 'ICE_FLOW_ENTRY_HNDL' *entry_h = ICE_FLOW_ENTRY_HNDL(e); ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c: In function 'ice_flow_rem_entry': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:198:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ICE_FLOW_ENTRY_PTR(h) ((struct ice_flow_entry *)(h)) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:974:10: note: in expansion of macro 'ICE_FLOW_ENTRY_PTR' entry = ICE_FLOW_ENTRY_PTR(entry_h); ^ In file included from /kisskb/src/include/linux/skbuff.h:31:0, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/sfc/net_driver.h:13, from /kisskb/src/drivers/net/ethernet/sfc/ef100.c:12: /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_continue_entry': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:145:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:163:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_xilinx_cap': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:337:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_probe': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:498:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ WARNING: modpost: EXPORT symbol "bzero_1page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_read_exit" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_read_try" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__ndelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__ashrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "empty_zero_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__udelay" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__lshrdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_write_enter" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__ashldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__copy_1page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__muldi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "__divdi3" [vmlinux] version generation failed, symbol will not be versioned. WARNING: modpost: EXPORT symbol "___rw_read_enter" [vmlinux] version generation failed, symbol will not be versioned. arch/sparc/kernel/head_32.o: In function `current_pc': arch/sparc/kernel/head_32.o:(.head.text+0x5040): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text' arch/sparc/kernel/head_32.o: In function `halt_notsup': arch/sparc/kernel/head_32.o:(.head.text+0x5100): relocation truncated to fit: R_SPARC_WDISP22 against `.init.text' arch/sparc/kernel/head_32.o: In function `leon_init': arch/sparc/kernel/head_32.o:(.init.text+0xa4): relocation truncated to fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text section in arch/sparc/kernel/trampoline_32.o arch/sparc/kernel/process_32.o:(.fixup+0x4): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/process_32.o:(.fixup+0xc): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x4): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x10): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x1c): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x28): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x34): relocation truncated to fit: R_SPARC_WDISP22 against `.text' arch/sparc/kernel/signal_32.o:(.fixup+0x40): additional relocation overflows omitted from the output make[1]: *** [/kisskb/src/Makefile:1163: vmlinux] Error 1 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=sparc O=/kisskb/build/linus_sparc-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_sparc-allmodconfig_sparc64 # Build took: 0:15:05.832488