* [peterz-queue:smp/core 12/13] include/trace/events/ipi.h:38: undefined reference to `__tracepoint_ipi_send_cpu'
@ 2023-03-23 11:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-23 11:01 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git smp/core
head: 965abfc95e362b8650b49b61c33de7e7691094c6
commit: 07c7eb9a6b5b84820a50dcab63bbbb18dbbaa5bb [12/13] trace: Add trace_ipi_send_cpu()
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20230323/202303231849.D5T2Jhti-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=07c7eb9a6b5b84820a50dcab63bbbb18dbbaa5bb
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue smp/core
git checkout 07c7eb9a6b5b84820a50dcab63bbbb18dbbaa5bb
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303231849.D5T2Jhti-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: vmlinux.o: in function `trace_ipi_send_cpu':
>> include/trace/events/ipi.h:38: undefined reference to `__tracepoint_ipi_send_cpu'
>> ld: include/trace/events/ipi.h:38: undefined reference to `__tracepoint_ipi_send_cpu'
>> ld: include/trace/events/ipi.h:38: undefined reference to `__tracepoint_ipi_send_cpu'
>> ld: include/trace/events/ipi.h:38: undefined reference to `__SCT__tp_func_ipi_send_cpu'
>> ld: vmlinux.o:(__jump_table+0x2438): undefined reference to `__tracepoint_ipi_send_cpu'
ld: vmlinux.o:(__jump_table+0x2448): undefined reference to `__tracepoint_ipi_send_cpu'
>> ld: vmlinux.o:(.static_call_sites+0x61c): undefined reference to `__SCK__tp_func_ipi_send_cpu'
vim +38 include/trace/events/ipi.h
37
> 38 TRACE_EVENT(ipi_send_cpu,
39
40 TP_PROTO(const unsigned int cpu, unsigned long callsite, void *callback),
41
42 TP_ARGS(cpu, callsite, callback),
43
44 TP_STRUCT__entry(
45 __field(unsigned int, cpu)
46 __field(void *, callsite)
47 __field(void *, callback)
48 ),
49
50 TP_fast_assign(
51 __entry->cpu = cpu;
52 __entry->callsite = (void *)callsite;
53 __entry->callback = callback;
54 ),
55
56 TP_printk("cpu=%u callsite=%pS callback=%pS",
57 __entry->cpu, __entry->callsite, __entry->callback)
58 );
59
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-23 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23 11:01 [peterz-queue:smp/core 12/13] include/trace/events/ipi.h:38: undefined reference to `__tracepoint_ipi_send_cpu' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).