Re: [PATCH v5 4/4] ftrace: Add an option for tracing console latencies
From: kbuild test robot
Date: Wed Sep 04 2019 - 01:03:45 EST
Hi Viktor,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc7 next-20190903]
[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/Viktor-Rosendahl/Some-new-features-for-the-preempt-irqsoff-tracers/20190904-083632
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
In file included from kernel/events/hw_breakpoint.c:20:0:
>> include/linux/irqflags.h:71:9: error: unknown type name 'bool'
extern bool console_tracing_disabled(void);
^~~~
vim +/bool +71 include/linux/irqflags.h
66
67 #if defined(CONFIG_IRQSOFF_TRACER) || \
68 defined(CONFIG_PREEMPT_TRACER)
69 extern void stop_critical_timings(void);
70 extern void start_critical_timings(void);
> 71 extern bool console_tracing_disabled(void);
72
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip