From: kernel test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jolsa-perf:bpf/tracing_multi_4 7/13] kernel/bpf/trampoline.c:527:14: error: call to undeclared function 'is_tracing_multi'; ISO C99 and later do not support implicit function declarations
Date: Thu, 12 Feb 2026 08:18:35 +0800 [thread overview]
Message-ID: <202602120809.ddpbx5h9-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/tracing_multi_4
head: a3f496c783e26237e1a9a5b1f5e6661d4e3c5f25
commit: cbb350ed40eb90b612d359931c72378a8dcc718b [7/13] bpf: Add bpf_trampoline_multi_attach/detach functions
config: i386-randconfig-002-20260212 (https://download.01.org/0day-ci/archive/20260212/202602120809.ddpbx5h9-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260212/202602120809.ddpbx5h9-lkp@intel.com/reproduce)
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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602120809.ddpbx5h9-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/bpf/trampoline.c:527:14: error: call to undeclared function 'is_tracing_multi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
527 | *multi |= is_tracing_multi(node->link->prog->expected_attach_type);
| ^
1 error generated.
vim +/is_tracing_multi +527 kernel/bpf/trampoline.c
507
508 static struct bpf_tramp_nodes *
509 bpf_trampoline_get_progs(const struct bpf_trampoline *tr, int *total, bool *ip_arg, bool *multi)
510 {
511 struct bpf_tramp_node *node, **nodes;
512 struct bpf_tramp_nodes *tnodes;
513 int kind;
514
515 *total = 0;
516 tnodes = kcalloc(BPF_TRAMP_MAX, sizeof(*tnodes), GFP_KERNEL);
517 if (!tnodes)
518 return ERR_PTR(-ENOMEM);
519
520 for (kind = 0; kind < BPF_TRAMP_MAX; kind++) {
521 tnodes[kind].nr_nodes = tr->progs_cnt[kind];
522 *total += tr->progs_cnt[kind];
523 nodes = tnodes[kind].nodes;
524
525 hlist_for_each_entry(node, &tr->progs_hlist[kind], tramp_hlist) {
526 *ip_arg |= node->link->prog->call_get_func_ip;
> 527 *multi |= is_tracing_multi(node->link->prog->expected_attach_type);
528 *nodes++ = node;
529 }
530 }
531 return tnodes;
532 }
533
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-02-12 0:18 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=202602120809.ddpbx5h9-lkp@intel.com \
--to=lkp@intel.com \
--cc=jolsa@kernel.org \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox