# 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/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 00e4db51259a5f936fec1424b884f029479d3981 # < make -s -j 24 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- magicpanelr2_defconfig # < make -s -j 24 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 24 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 24 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:17: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type return ioread8(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:22:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread8(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:18: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type return ioread16(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:22:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread16(void __iomem *); ^ /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:18: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type return ioread32(addr); ^ In file included from /kisskb/src/arch/sh/include/asm/io.h:22:0, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/drivers/sh/clk/cpg.c:14: /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' extern unsigned int ioread32(void __iomem *); ^ /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld: kernel/sched/core.o: uses dsp instructions while previous modules use floating point instructions /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld: kernel/sched/core.o: uses instructions which are incompatible with instructions used in previous modules /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux-ld: failed to merge target specific data of file kernel/sched/core.o make[1]: *** [/kisskb/src/Makefile:1163: vmlinux] Error 1 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=sh O=/kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_magicpanelr2_defconfig_sh4-gcc4.9 # Build took: 0:01:08.995018