* [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
@ 2026-02-12 0:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-12 0:18 UTC (permalink / raw)
To: Jiri Olsa; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-12 0:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-12 0:18 [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 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