All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Thu, 19 Jan 2023 09:27:12 +0800	[thread overview]
Message-ID: <202301190924.fHmuncbT-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-01-19  1:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202301190924.fHmuncbT-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jolsa@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.