# git rev-parse -q --verify 343a9f35409b68b6de66ecd0db90a277aee90ec2^{commit} 343a9f35409b68b6de66ecd0db90a277aee90ec2 already have revision, skipping fetch # git checkout -q -f -B kisskb 343a9f35409b68b6de66ecd0db90a277aee90ec2 # git clean -qxdf # < git log -1 # commit 343a9f35409b68b6de66ecd0db90a277aee90ec2 # Merge: f4267b3604a8 a2acce536921 # Author: Linus Torvalds # Date: Tue Oct 30 09:49:56 2018 -0700 # # Merge tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace # # Pull tracing updates from Steven Rostedt: # "The biggest change here is the updates to kprobes # # Back in January I posted patches to create function based events. # These were the events that you suggested I make to allow developers to # easily create events in code where no trace event exists. After # posting those changes for review, it was suggested that we implement # this instead with kprobes. # # The problem with kprobes is that the interface is too complex and # needs to be simplified. Masami Hiramatsu posted patches in March and # I've been playing with them a bit. There's been a bit of clean up in # the kprobe code that was inspired by the function based event patches, # and a couple of enhancements to the kprobe event interface. # # - If the arch supports it (we added support for x86), you can place a # kprobe event at the start of a function and use $arg1, $arg2, etc # to reference the arguments of a function. (Before you needed to # know what register or where on the stack the argument was). # # - The second is a way to see array of events. For example, if you # reference a mac address, you can add: # # echo 'p:mac ip_rcv perm_addr=+574($arg2):x8[6]' > kprobe_events # # And this will produce: # # mac: (ip_rcv+0x0/0x140) perm_addr={0x52,0x54,0x0,0xc0,0x76,0xec} # # Other changes include # # - Exporting trace_dump_stack to modules # # - Have the stack tracer trace the entire stack (stop trying to remove # tracing itself, as we keep removing too much). # # - Added support for SDT in uprobes" # # [ SDT - "Statically Defined Tracing" are userspace markers for tracing. # Let's not use random TLA's in explanations unless they are fairly # well-established as generic (at least for kernel people) - Linus ] # # * tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (24 commits) # tracing: Have stack tracer trace full stack # tracing: Export trace_dump_stack to modules # tracing: probeevent: Fix uninitialized used of offset in parse args # tracing/kprobes: Allow kprobe-events to record module symbol # tracing/kprobes: Check the probe on unloaded module correctly # tracing/uprobes: Fix to return -EFAULT if copy_from_user failed # tracing: probeevent: Add $argN for accessing function args # x86: ptrace: Add function argument access API # tracing: probeevent: Add array type support # tracing: probeevent: Add symbol type # tracing: probeevent: Unify fetch_insn processing common part # tracing: probeevent: Append traceprobe_ for exported function # tracing: probeevent: Return consumed bytes of dynamic area # tracing: probeevent: Unify fetch type tables # tracing: probeevent: Introduce new argument fetching code # tracing: probeevent: Remove NOKPROBE_SYMBOL from print functions # tracing: probeevent: Cleanup argument field definition # tracing: probeevent: Cleanup print argument functions # trace_uprobe: support reference counter in fd-based uprobe # perf probe: Support SDT markers having reference counter (semaphore) # ... # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 343a9f35409b68b6de66ecd0db90a277aee90ec2 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xFE2DABCA # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=n # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_BOOK3E_64=n # Added to kconfig CONFIG_PPC_BOOK3S_64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/mm/tlb-radix.c:670:0: warning: "radix__flush_all_mm" redefined #define radix__flush_all_mm radix__local_flush_all_mm ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:18:0, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:289, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:24, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu.h:30, from /kisskb/src/arch/powerpc/include/asm/mmu.h:328, from /kisskb/src/arch/powerpc/include/asm/lppaca.h:36, from /kisskb/src/arch/powerpc/include/asm/paca.h:21, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/gfp.h:6, from /kisskb/src/include/linux/mm.h:10, from /kisskb/src/arch/powerpc/mm/tlb-radix.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:44:0: note: this is the location of the previous definition #define radix__flush_all_mm(mm) radix__local_flush_all_mm(mm) ^ /kisskb/src/arch/powerpc/mm/tlb-radix.c: In function '__radix__flush_tlb_range': /kisskb/src/arch/powerpc/mm/tlb-radix.c:713:5: error: implicit declaration of function 'exit_flush_lazy_tlbs' [-Werror=implicit-function-declaration] exit_flush_lazy_tlbs(mm); ^ /kisskb/src/arch/powerpc/mm/tlb-radix.c: In function 'radix__tlb_flush': /kisskb/src/arch/powerpc/mm/tlb-radix.c:883:3: error: implicit declaration of function '__flush_all_mm' [-Werror=implicit-function-declaration] __flush_all_mm(mm, true); ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:293: arch/powerpc/mm/tlb-radix.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:518: arch/powerpc/mm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 # Build took: 0:02:10.349566