[<prev] [next>] [day] [month] [year] [list]
Date: Sat, 10 Sep 2022 04:31:07 +0800
From: kernel test robot <lkp@...el.com>
To: Jiri Olsa <jolsa@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jolsa-perf:tp_fix 1/1] trampoline.c:undefined reference to
`bpf_prog_inc_misses_counter'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git tp_fix
head: 1d5150ae30634ba3ff98b5ac0489f44375acca56
commit: 1d5150ae30634ba3ff98b5ac0489f44375acca56 [1/1] bpf: Prevent bpf program recursion for raw tracepoint probes
config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20220910/202209100409.3Y73xcfp-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id=1d5150ae30634ba3ff98b5ac0489f44375acca56
git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
git fetch --no-tags jolsa-perf tp_fix
git checkout 1d5150ae30634ba3ff98b5ac0489f44375acca56
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
ld: kernel/bpf/trampoline.o: in function `__bpf_prog_enter':
>> trampoline.c:(.text+0x1681): undefined reference to `bpf_prog_inc_misses_counter'
ld: kernel/bpf/trampoline.o: in function `__bpf_prog_enter_sleepable':
trampoline.c:(.text+0x19b1): undefined reference to `bpf_prog_inc_misses_counter'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists