# git rev-parse -q --verify 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62^{commit} 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 already have revision, skipping fetch # git checkout -q -f -B kisskb 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 # git clean -qxdf # < git log -1 # commit 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 # Merge: 20f463fb3868 795301d3c289 # Author: Linus Torvalds # Date: Wed Mar 23 11:40:25 2022 -0700 # # Merge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace # # Pull tracing updates from Steven Rostedt: # # - New user_events interface. User space can register an event with the # kernel describing the format of the event. Then it will receive a # byte in a page mapping that it can check against. A privileged task # can then enable that event like any other event, which will change # the mapped byte to true, telling the user space application to start # writing the event to the tracing buffer. # # - Add new "ftrace_boot_snapshot" kernel command line parameter. When # set, the tracing buffer will be saved in the snapshot buffer at boot # up when the kernel hands things over to user space. This will keep # the traces that happened at boot up available even if user space boot # up has tracing as well. # # - Have TRACE_EVENT_ENUM() also update trace event field type # descriptions. Thus if a static array defines its size with an enum, # the user space trace event parsers can still know how to parse that # array. # # - Add new TRACE_CUSTOM_EVENT() macro. This acts the same as the # TRACE_EVENT() macro, but will attach to an existing tracepoint. This # will make one tracepoint be able to trace different content and not # be stuck at only what the original TRACE_EVENT() macro exports. # # - Fixes to tracing error logging. # # - Better saving of cmdlines to PIDs when tracing (use the wakeup events # for mapping). # # * tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (30 commits) # tracing: Have type enum modifications copy the strings # user_events: Add trace event call as root for low permission cases # tracing/user_events: Use alloc_pages instead of kzalloc() for register pages # tracing: Add snapshot at end of kernel boot up # tracing: Have TRACE_DEFINE_ENUM affect trace event types as well # tracing: Fix strncpy warning in trace_events_synth.c # user_events: Prevent dyn_event delete racing with ioctl add/delete # tracing: Add TRACE_CUSTOM_EVENT() macro # tracing: Move the defines to create TRACE_EVENTS into their own files # tracing: Add sample code for custom trace events # tracing: Allow custom events to be added to the tracefs directory # tracing: Fix last_cmd_set() string management in histogram code # user_events: Fix potential uninitialized pointer while parsing field # tracing: Fix allocation of last_cmd in last_cmd_set() # user_events: Add documentation file # user_events: Add sample code for typical usage # user_events: Add self-test for validator boundaries # user_events: Add self-test for perf_event integration # user_events: Add self-test for dynamic_events integration # user_events: Add self-test for ftrace integration # ... # < /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 1bc191051dca28fa6d20fd1dc34a1903e7d4fb62 # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # 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-allyesconfig_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-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12251:warning: override: reassigning to symbol GCC_PLUGIN_SANCOV .config:12254:warning: override: reassigning to symbol GCC_PLUGIN_RANDSTRUCT .config:12256:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12258:warning: override: reassigning to symbol UML_NET_SLIP .config:12261:warning: override: reassigning to symbol UML_NET_MCAST .config:12263:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/drivers/vfio/pci/vfio_pci_rdwr.c: In function 'vfio_pci_vga_rw': /kisskb/src/drivers/vfio/pci/vfio_pci_rdwr.c:317:11: error: implicit declaration of function 'ioport_map' [-Werror=implicit-function-declaration] iomem = ioport_map(0x3b0, 0x3bb - 0x3b0 + 1); ^ /kisskb/src/drivers/vfio/pci/vfio_pci_rdwr.c:317:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] iomem = ioport_map(0x3b0, 0x3bb - 0x3b0 + 1); ^ /kisskb/src/drivers/vfio/pci/vfio_pci_rdwr.c:324:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] iomem = ioport_map(0x3c0, 0x3df - 0x3c0 + 1); ^ /kisskb/src/drivers/vfio/pci/vfio_pci_rdwr.c:338:15: error: implicit declaration of function 'ioport_unmap' [-Werror=implicit-function-declaration] is_ioport ? ioport_unmap(iomem) : iounmap(iomem); ^ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/vfio/pci/vfio_pci_rdwr.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/vfio/pci] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/vfio] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41:0, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:25: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:103:18: error: called object is not a function or function pointer #define cpu_data (&boot_cpu_data) ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1556:9: note: in expansion of macro 'cpu_data' return cpu_data(first_cpu_of_numa_node).apicid; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1560:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:288: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/gpu/drm/amd/amdgpu] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/gpu] Error 2 make[1]: *** [/kisskb/src/Makefile:1831: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allyesconfig_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-allyesconfig_um-x86_64 # Build took: 0:06:49.768037