Re: [PATCH v4] ftrace: support early boot function tracing

From: kbuild test robot
Date: Sun Dec 09 2018 - 17:06:22 EST

Hi Abderrahmane,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.20-rc5 next-20181207]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: i386-randconfig-s0-12100145 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

In file included from include/linux/perf_event.h:48:0,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:85,
from kernel/fork.c:52:
include/linux/ftrace.h: In function 'ftrace_init':
>> include/linux/ftrace.h:735:40: error: implicit declaration of function 'ftrace_early_shutdown' [-Werror=implicit-function-declaration]
static inline void ftrace_init(void) { ftrace_early_shutdown(); }
cc1: some warnings being treated as errors

vim +/ftrace_early_shutdown +735 include/linux/ftrace.h

733 extern void ftrace_init(void);
734 #else
> 735 static inline void ftrace_init(void) { ftrace_early_shutdown(); }
736 #endif

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip