[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202305190202.SIUCU7Ko-lkp@intel.com>
Date: Fri, 19 May 2023 02:16:37 +0800
From: kernel test robot <lkp@...el.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: [paulmck-rcu:rcu/next 19/19] kernel/rcu/rcuscale.c:340:27: error:
'get_rcu_tasks_trace_gp_kthread' undeclared here (not in a function); did
you mean 'show_rcu_tasks_trace_gp_kthread'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next
head: 9bb839a83e1bbbfd4f7f20827aafd0a39fad00c7
commit: 9bb839a83e1bbbfd4f7f20827aafd0a39fad00c7 [19/19] rcuscale: Measure grace-period kthread CPU time
config: x86_64-randconfig-x063
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=9bb839a83e1bbbfd4f7f20827aafd0a39fad00c7
git remote add paulmck-rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags paulmck-rcu rcu/next
git checkout 9bb839a83e1bbbfd4f7f20827aafd0a39fad00c7
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/rcu/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305190202.SIUCU7Ko-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/rcu/rcuscale.c:340:27: error: 'get_rcu_tasks_trace_gp_kthread' undeclared here (not in a function); did you mean 'show_rcu_tasks_trace_gp_kthread'?
340 | .rso_gp_kthread = get_rcu_tasks_trace_gp_kthread,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| show_rcu_tasks_trace_gp_kthread
vim +340 kernel/rcu/rcuscale.c
328
329 static struct rcu_scale_ops tasks_tracing_ops = {
330 .ptype = RCU_TASKS_FLAVOR,
331 .init = rcu_sync_scale_init,
332 .readlock = tasks_trace_scale_read_lock,
333 .readunlock = tasks_trace_scale_read_unlock,
334 .get_gp_seq = rcu_no_completed,
335 .gp_diff = rcu_seq_diff,
336 .async = call_rcu_tasks_trace,
337 .gp_barrier = rcu_barrier_tasks_trace,
338 .sync = synchronize_rcu_tasks_trace,
339 .exp_sync = synchronize_rcu_tasks_trace,
> 340 .rso_gp_kthread = get_rcu_tasks_trace_gp_kthread,
341 .name = "tasks-tracing"
342 };
343
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "config" of type "text/plain" (130177 bytes)
Powered by blists - more mailing lists