# git rev-parse -q --verify 8b817fded42d8fe3a0eb47b1149d907851a3c942^{commit} 8b817fded42d8fe3a0eb47b1149d907851a3c942 already have revision, skipping fetch # git checkout -q -f -B kisskb 8b817fded42d8fe3a0eb47b1149d907851a3c942 # git clean -qxdf # < git log -1 # commit 8b817fded42d8fe3a0eb47b1149d907851a3c942 # Merge: 7a6c8e512fa0 a2d910f02231 # Author: Linus Torvalds # Date: Mon May 29 07:20:13 2023 -0400 # # Merge tag 'trace-v6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace # # Pull tracing fixes from Steven Rostedt: # "User events: # # - Use long instead of int for storing the enable set/clear bit, as it # was found that big endian machines could end up using the wrong # bits. # # - Split allocating mm and attaching it. This keeps the allocation # separate from the registration and avoids various races. # # - Remove RCU locking around pin_user_pages_remote() as that can # schedule. The RCU protection is no longer needed with the above # split of mm allocation and attaching. # # - Rename the "link" fields of the various structs to something more # meaningful. # # - Add comments around user_event_mm struct usage and locking # requirements. # # Timerlat tracer: # # - Fix missed wakeup of timerlat thread caused by the timerlat # interrupt triggering when tracing is off. The timer interrupt # handler needs to always wake up the timerlat thread regardless if # tracing is enabled or not, otherwise, it will never wake up. # # Histograms: # # - Fix regression of breaking the "stacktrace" modifier for variables. # That modifier cannot be used for values, but can be used for # variables that are passed from one histogram to the next. This was # broken when adding the restriction to values as the variable logic # used the same code. # # - Rename the special field "stacktrace" to "common_stacktrace". # # Special fields (that are not actually part of the event, but can # act just like event fields, like 'comm' and 'timestamp') should be # prefixed with 'common_' for consistency. To keep backward # compatibility, 'stacktrace' can still be used (as with the special # field 'cpu'), but can be overridden if the event has a field called # 'stacktrace'. # # - Update the synthetic event selftests to use the new name (synthetic # events are created by histograms) # # Tracing bootup selftests: # # - Reorganize the code to keep artifacts of the selftests not compiled # in when selftests are not configured. # # - Add various cond_resched() around the selftest code, as the # softlock watchdog was triggering much more often. It appears that # the kernel runs slower now with full debugging enabled. # # - While debugging ftrace with ftrace (using an instance ring buffer # instead of the top level one), I found that the selftests were # disabling prints to the debug instance. # # This should not happen, as the selftests only disable printing to # the main buffer as the selftests examine the main buffer to see if # it has what it expects, and prints can make the tests fail. # # Make the selftests only disable printing to the toplevel buffer, # and leave the instance buffers alone" # # * tag 'trace-v6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: # tracing: Have function_graph selftest call cond_resched() # tracing: Only make selftest conditionals affect the global_trace # tracing: Make tracing_selftest_running/delete nops when not used # tracing: Have tracer selftests call cond_resched() before running # tracing: Move setting of tracing_selftest_running out of register_tracer() # tracing/selftests: Update synthetic event selftest to use common_stacktrace # tracing: Rename stacktrace field to common_stacktrace # tracing/histograms: Allow variables to have some modifiers # tracing/user_events: Document user_event_mm one-shot list usage # tracing/user_events: Rename link fields for clarity # tracing/user_events: Remove RCU lock while pinning pages # tracing/user_events: Split up mm alloc and attach # tracing/timerlat: Always wakeup the timerlat thread # tracing/user_events: Use long vs int for atomic bit ops # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 8b817fded42d8fe3a0eb47b1149d907851a3c942 # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12809:warning: override: reassigning to symbol GCC_PLUGIN_SANCOV .config:12814:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12816:warning: override: reassigning to symbol UML_NET_SLIP .config:12821:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/util.c:17:24: fatal error: sys/random.h: No such file or directory compilation terminated. make[3]: *** [/kisskb/src/scripts/Makefile.build:252: arch/um/os-Linux/util.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/um/os-Linux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2026: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64 # Build took: 0:11:51.567225