* [jolsa-perf:bpf/fprobe_link_5 4/10] kernel/trace/bpf_trace.c:1043:15: error: no member named 'ip' in 'struct pt_regs'
@ 2022-02-14 0:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-14 0:35 UTC (permalink / raw)
To: Jiri Olsa; +Cc: llvm, kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/fprobe_link_5
head: 9149abfa25286fdf715525babec5150939c9ac96
commit: 6944d13cf0af8628c0b80eb90359d90cbba0d69c [4/10] bpf: Add bpf_get_func_ip kprobe helper for fprobe link
config: arm-aspeed_g4_defconfig (https://download.01.org/0day-ci/archive/20220214/202202140858.R22HkKfR-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project ea071884b0cc7210b3cc5fe858f0e892a779a23b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id=6944d13cf0af8628c0b80eb90359d90cbba0d69c
git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
git fetch --no-tags jolsa-perf bpf/fprobe_link_5
git checkout 6944d13cf0af8628c0b80eb90359d90cbba0d69c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash kernel/trace/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> kernel/trace/bpf_trace.c:1043:15: error: no member named 'ip' in 'struct pt_regs'
return regs->ip;
~~~~ ^
1 error generated.
vim +1043 kernel/trace/bpf_trace.c
1039
1040 BPF_CALL_1(bpf_get_func_ip_fprobe, struct pt_regs *, regs)
1041 {
1042 /* This helper call is inlined by verifier. */
> 1043 return regs->ip;
1044 }
1045
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-14 0:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-14 0:35 [jolsa-perf:bpf/fprobe_link_5 4/10] kernel/trace/bpf_trace.c:1043:15: error: no member named 'ip' in 'struct pt_regs' 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