* kernel//trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'
@ 2017-11-28 5:56 kbuild test robot
2017-12-01 0:10 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-11-28 5:56 UTC (permalink / raw)
To: Joel Fernandes; +Cc: kbuild-all, linux-kernel, Steven Rostedt (VMware)
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
commit: d59158162e032917a428704160a2063a02405ec6 tracing: Add support for preempt and irq enable/disable events
date: 7 weeks ago
config: x86_64-randconfig-s0-11281312 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
git checkout d59158162e032917a428704160a2063a02405ec6
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
kernel//trace/trace_irqsoff.c: In function 'trace_preempt_on':
>> kernel//trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle' [-Werror=implicit-function-declaration]
trace_preempt_enable_rcuidle(a0, a1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel//trace/trace_irqsoff.c: In function 'trace_preempt_off':
>> kernel//trace/trace_irqsoff.c:861:2: error: implicit declaration of function 'trace_preempt_disable_rcuidle' [-Werror=implicit-function-declaration]
trace_preempt_disable_rcuidle(a0, a1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/trace_preempt_enable_rcuidle +855 kernel//trace/trace_irqsoff.c
850
851 #if defined(CONFIG_PREEMPT_TRACER) || \
852 (defined(CONFIG_DEBUG_PREEMPT) && defined(CONFIG_PREEMPTIRQ_EVENTS))
853 void trace_preempt_on(unsigned long a0, unsigned long a1)
854 {
> 855 trace_preempt_enable_rcuidle(a0, a1);
856 tracer_preempt_on(a0, a1);
857 }
858
859 void trace_preempt_off(unsigned long a0, unsigned long a1)
860 {
> 861 trace_preempt_disable_rcuidle(a0, a1);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21611 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: kernel//trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'
2017-11-28 5:56 kernel//trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle' kbuild test robot
@ 2017-12-01 0:10 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2017-12-01 0:10 UTC (permalink / raw)
To: kbuild test robot; +Cc: Joel Fernandes, kbuild-all, linux-kernel, Arnd Bergmann
On Tue, 28 Nov 2017 13:56:45 +0800
kbuild test robot <fengguang.wu@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
> commit: d59158162e032917a428704160a2063a02405ec6 tracing: Add support for preempt and irq enable/disable events
Thanks Fengguang,
I have a patch in my local tree from Arnd that I forgot to push up to
Linus. I'm adding some more fixes to my tree, and then I need to test
them and then this will get fixed.
-- Steve
> date: 7 weeks ago
> config: x86_64-randconfig-s0-11281312 (attached as .config)
> compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
> reproduce:
> git checkout d59158162e032917a428704160a2063a02405ec6
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
> kernel//trace/trace_irqsoff.c: In function 'trace_preempt_on':
> >> kernel//trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle' [-Werror=implicit-function-declaration]
> trace_preempt_enable_rcuidle(a0, a1);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> kernel//trace/trace_irqsoff.c: In function 'trace_preempt_off':
> >> kernel//trace/trace_irqsoff.c:861:2: error: implicit declaration of function 'trace_preempt_disable_rcuidle' [-Werror=implicit-function-declaration]
> trace_preempt_disable_rcuidle(a0, a1);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
>
> vim +/trace_preempt_enable_rcuidle +855 kernel//trace/trace_irqsoff.c
>
> 850
> 851 #if defined(CONFIG_PREEMPT_TRACER) || \
> 852 (defined(CONFIG_DEBUG_PREEMPT) && defined(CONFIG_PREEMPTIRQ_EVENTS))
> 853 void trace_preempt_on(unsigned long a0, unsigned long a1)
> 854 {
> > 855 trace_preempt_enable_rcuidle(a0, a1);
> 856 tracer_preempt_on(a0, a1);
> 857 }
> 858
> 859 void trace_preempt_off(unsigned long a0, unsigned long a1)
> 860 {
> > 861 trace_preempt_disable_rcuidle(a0, a1);
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-01 0:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28 5:56 kernel//trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle' kbuild test robot
2017-12-01 0:10 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox