* [peterz-queue:sched/core 5/10] kernel/trace/trace_preemptirq.c:103:9: error: implicit declaration of function 'trace'; did you mean 'notrace'?
@ 2023-01-28 12:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-28 12:55 UTC (permalink / raw)
To: Peter Zijlstra; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head: be06c7d02443a4ce151434fed1ca2c9502f6816d
commit: 013918b05da9a651cba310028d94101abecaaf7b [5/10] tracing, preempt: Squash _rcuidle tracing
config: arm64-randconfig-r001-20230123 (https://download.01.org/0day-ci/archive/20230128/202301282055.i3hqtrHw-lkp@intel.com/config)
compiler: aarch64-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/peterz/queue.git/commit/?id=013918b05da9a651cba310028d94101abecaaf7b
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/core
git checkout 013918b05da9a651cba310028d94101abecaaf7b
# 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=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash kernel/trace/
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/trace/trace_preemptirq.c: In function 'trace_preempt_on':
>> kernel/trace/trace_preemptirq.c:103:9: error: implicit declaration of function 'trace'; did you mean 'notrace'? [-Werror=implicit-function-declaration]
103 | trace(preempt_enable)(a0, a1);
| ^~~~~
| notrace
>> kernel/trace/trace_preemptirq.c:103:15: error: 'preempt_enable' undeclared (first use in this function); did you mean 'perf_pmu_enable'?
103 | trace(preempt_enable)(a0, a1);
| ^~~~~~~~~~~~~~
| perf_pmu_enable
kernel/trace/trace_preemptirq.c:103:15: note: each undeclared identifier is reported only once for each function it appears in
kernel/trace/trace_preemptirq.c: In function 'trace_preempt_off':
>> kernel/trace/trace_preemptirq.c:109:15: error: 'preempt_disable' undeclared (first use in this function); did you mean 'perf_pmu_disable'?
109 | trace(preempt_disable)(a0, a1);
| ^~~~~~~~~~~~~~~
| perf_pmu_disable
cc1: some warnings being treated as errors
vim +103 kernel/trace/trace_preemptirq.c
100
101 void trace_preempt_on(unsigned long a0, unsigned long a1)
102 {
> 103 trace(preempt_enable)(a0, a1);
104 tracer_preempt_on(a0, a1);
105 }
106
107 void trace_preempt_off(unsigned long a0, unsigned long a1)
108 {
> 109 trace(preempt_disable)(a0, a1);
--
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-28 12:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28 12:55 [peterz-queue:sched/core 5/10] kernel/trace/trace_preemptirq.c:103:9: error: implicit declaration of function 'trace'; did you mean 'notrace'? 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.