[tip:timers/core 6/6] include/trace/events/alarmtimer.h:62: undefined reference to `rtc_ktime_to_tm'

From: kbuild test robot
Date: Sun Sep 04 2016 - 00:43:35 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core
head: a0a6e06d545a753740c9d8d5ce2c4fdd3ab1c021
commit: a0a6e06d545a753740c9d8d5ce2c4fdd3ab1c021 [6/6] time: alarmtimer: Add tracepoints for alarmtimers
config: s390-default_defconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a0a6e06d545a753740c9d8d5ce2c4fdd3ab1c021
# save the attached .config to linux build tree
make.cross ARCH=s390

All errors (new ones prefixed by >>):

kernel/built-in.o: In function `perf_trace_alarm_processing':
>> include/trace/events/alarmtimer.h:62: undefined reference to `rtc_ktime_to_tm'
>> include/trace/events/alarmtimer.h:62: undefined reference to `rtc_ktime_to_tm'
>> include/trace/events/alarmtimer.h:62: undefined reference to `rtc_ktime_to_tm'
>> include/trace/events/alarmtimer.h:62: undefined reference to `rtc_ktime_to_tm'
>> include/trace/events/alarmtimer.h:62: undefined reference to `rtc_ktime_to_tm'
kernel/built-in.o:include/trace/events/alarmtimer.h:62: more undefined references to `rtc_ktime_to_tm' follow

vim +62 include/trace/events/alarmtimer.h

56
57 TP_PROTO(struct rtc_time *time, int flag),
58
59 TP_ARGS(time, flag)
60 );
61
> 62 DECLARE_EVENT_CLASS(alarm_processing,
63
64 TP_PROTO(struct alarm *alarm, char *process_name),
65

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

Attachment: .config.gz
Description: Binary data