Re: [PATCH v5 2/2] remoteproc: qcom: Add remoteproc tracing

From: kernel test robot
Date: Tue Jun 13 2023 - 02:21:34 EST


Hi Gokul,

kernel test robot noticed the following build errors:

[auto build test ERROR on 1ca04f21b204e99dd704146231adfb79ea2fb366]

url: https://github.com/intel-lab-lkp/linux/commits/Gokul-krishna-Krishnakumar/remoteproc-Introduce-traces-for-remoteproc-events/20230613-060527
base: 1ca04f21b204e99dd704146231adfb79ea2fb366
patch link: https://lore.kernel.org/r/12b533c73b8c6b039e90f20afef1c8dcd30b80de.1686606835.git.quic_gokukris%40quicinc.com
patch subject: [PATCH v5 2/2] remoteproc: qcom: Add remoteproc tracing
config: hexagon-randconfig-r041-20230612 (https://download.01.org/0day-ci/archive/20230613/202306131424.QEYiIiQA-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 1ca04f21b204e99dd704146231adfb79ea2fb366
b4 shazam https://lore.kernel.org/r/12b533c73b8c6b039e90f20afef1c8dcd30b80de.1686606835.git.quic_gokukris@xxxxxxxxxxx
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=hexagon olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306131424.QEYiIiQA-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: __tracepoint_rproc_start_event
>>> referenced by jump_label.h:260 (include/linux/jump_label.h:260)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_boot) in archive vmlinux.a
>>> referenced by jump_label.h:260 (include/linux/jump_label.h:260)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_boot) in archive vmlinux.a
>>> referenced by jump_label.h:260 (include/linux/jump_label.h:260)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_boot) in archive vmlinux.a
>>> referenced 1 more times
--
>> ld.lld: error: undefined symbol: __traceiter_rproc_start_event
>>> referenced by remoteproc_tracepoints.h:63 (include/trace/events/remoteproc_tracepoints.h:63)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_boot) in archive vmlinux.a
>>> referenced by remoteproc_tracepoints.h:63 (include/trace/events/remoteproc_tracepoints.h:63)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_boot) in archive vmlinux.a
>>> referenced by remoteproc_tracepoints.h:63 (include/trace/events/remoteproc_tracepoints.h:63)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_boot) in archive vmlinux.a
>>> referenced 1 more times
--
>> ld.lld: error: undefined symbol: __tracepoint_rproc_load_segment_event
>>> referenced by remoteproc_internal.h:178 (drivers/remoteproc/remoteproc_internal.h:178)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_start) in archive vmlinux.a
>>> referenced by remoteproc_internal.h:178 (drivers/remoteproc/remoteproc_internal.h:178)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_start) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: __traceiter_rproc_load_segment_event
>>> referenced by remoteproc_tracepoints.h:17 (include/trace/events/remoteproc_tracepoints.h:17)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_start) in archive vmlinux.a
>>> referenced by remoteproc_tracepoints.h:17 (include/trace/events/remoteproc_tracepoints.h:17)
>>> drivers/remoteproc/remoteproc_core.o:(rproc_start) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: __tracepoint_rproc_stop_event
>>> referenced by jump_label.h:260 (include/linux/jump_label.h:260)
>>> drivers/remoteproc/remoteproc_core.o:(trace_rproc_stop_event) in archive vmlinux.a
>>> referenced by jump_label.h:260 (include/linux/jump_label.h:260)
>>> drivers/remoteproc/remoteproc_core.o:(trace_rproc_stop_event) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: __traceiter_rproc_stop_event
>>> referenced by remoteproc_tracepoints.h:82 (include/trace/events/remoteproc_tracepoints.h:82)
>>> drivers/remoteproc/remoteproc_core.o:(trace_rproc_stop_event) in archive vmlinux.a
>>> referenced by remoteproc_tracepoints.h:82 (include/trace/events/remoteproc_tracepoints.h:82)
>>> drivers/remoteproc/remoteproc_core.o:(trace_rproc_stop_event) in archive vmlinux.a

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki