Re: [PATCH] tracing: Fix oops caused by graph notrace filter

From: Chunyu Hu
Date: Wed Jun 22 2016 - 02:31:19 EST




----- Original Message -----
> From: "kbuild test robot" <lkp@xxxxxxxxx>
> To: "Chunyu Hu" <chuhu@xxxxxxxxxx>
> Cc: kbuild-all@xxxxxx, rostedt@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> Sent: Tuesday, June 21, 2016 8:39:22 PM
> Subject: Re: [PATCH] tracing: Fix oops caused by graph notrace filter
>
> Hi,
>
> [auto build test ERROR on tip/perf/core]
> [also build test ERROR on v4.7-rc4 next-20160621]
> [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/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace-filter/20160621-191210
> config: i386-randconfig-r0-201625 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> kernel/built-in.o: In function `irqsoff_tracer_reset':
> >> trace_irqsoff.c:(.text+0x8d38f): undefined reference to
> >> `ftrace_graph_ignore_notrace'
> kernel/built-in.o: In function `__irqsoff_tracer_init':
> trace_irqsoff.c:(.text+0x8d3fa): undefined reference to
> `ftrace_graph_ignore_notrace'

Sorry, when function_graph tracer is not configured, the symbol is undefined.
Will add a #ifdef section for it to make it clean at least. Thanks.


> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>

--
Regards,
Chunyu Hu