Re: [PATCH v1 1/2] tracing: Improve design of preemptirq tracepoints and its users
From: Joel Fernandes
Date: Thu Mar 15 2018 - 23:28:09 EST
On Thu, Mar 15, 2018 at 8:13 PM, kbuild test robot <lkp@xxxxxxxxx> wrote:
> Hi Joel,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v4.16-rc5 next-20180314]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/tracing-Improve-design-of-preemptirq-tracepoints-and-its-users/20180316-012211
> config: i386-randconfig-a1-201810 (attached as .config)
> compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> kernel/locking/lockdep.c: In function 'lockdep_init':
>>> kernel/locking/lockdep.c:4325:2: error: implicit declaration of function 'register_trace_irq_disable' [-Werror=implicit-function-declaration]
> register_trace_irq_disable(lockdep_hardirqs_off, NULL);
> ^
>>> kernel/locking/lockdep.c:4326:2: error: implicit declaration of function 'register_trace_irq_enable' [-Werror=implicit-function-declaration]
> register_trace_irq_enable(lockdep_hardirqs_on, NULL);
> ^
> cc1: some warnings being treated as errors
>
> vim +/register_trace_irq_disable +4325 kernel/locking/lockdep.c
Can't reproduce this. Kbuild bot might be testing old patches. With
the latest patches and the config kbuild shared, I don't get any
errors.
thanks,
- Joel