* [jolsa-perf:bpf/tracing_multi_1 27/27] kernel/bpf/trampoline.c:1256:15: error: implicit declaration of function 'set_filter_ftrace_direct_multi'; did you mean 'register_ftrace_direct_multi'?
@ 2023-01-19 1:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-19 1:27 UTC (permalink / raw)
To: Jiri Olsa; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/tracing_multi_1
head: 747784185d106a06b429736196d8817cb2d12a6f
commit: 747784185d106a06b429736196d8817cb2d12a6f [27/27] fix
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20230119/202301190924.fHmuncbT-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.1.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id=747784185d106a06b429736196d8817cb2d12a6f
git remote add jolsa-perf https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
git fetch --no-tags jolsa-perf bpf/tracing_multi_1
git checkout 747784185d106a06b429736196d8817cb2d12a6f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash kernel/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/bpf/trampoline.c: In function 'trampoline_multi_reset_bmap':
>> kernel/bpf/trampoline.c:1256:15: error: implicit declaration of function 'set_filter_ftrace_direct_multi'; did you mean 'register_ftrace_direct_multi'? [-Werror=implicit-function-declaration]
1256 | err = set_filter_ftrace_direct_multi(tr->fops, ips, tr->multi.bmap->cnt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| register_ftrace_direct_multi
cc1: some warnings being treated as errors
vim +1256 kernel/bpf/trampoline.c
1246
1247 static int trampoline_multi_reset_bmap(struct bpf_trampoline *tr)
1248 {
1249 unsigned long *ips;
1250 int err;
1251
1252 err = btf_bitmap_funcs_resolve(tr->multi.bmap, &ips);
1253 if (err)
1254 return err;
1255 mutex_lock(&tr->mutex);
> 1256 err = set_filter_ftrace_direct_multi(tr->fops, ips, tr->multi.bmap->cnt,
1257 (unsigned long) tr->cur_image->image);
1258 mutex_unlock(&tr->mutex);
1259 kfree(ips);
1260 return err;
1261 }
1262
--
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-01-19 1:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 1:27 [jolsa-perf:bpf/tracing_multi_1 27/27] kernel/bpf/trampoline.c:1256:15: error: implicit declaration of function 'set_filter_ftrace_direct_multi'; did you mean 'register_ftrace_direct_multi'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.