Re: [PATCH v2] time: alarmtimer: Add the trcepoints for alarmtimer

From: kbuild test robot
Date: Mon Aug 22 2016 - 22:39:54 EST


Hi Baolin,

[auto build test ERROR on tip/timers/core]
[also build test ERROR on v4.8-rc3 next-20160822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Baolin-Wang/time-alarmtimer-Add-the-trcepoints-for-alarmtimer/20160818-165619
config: powerpc-c2k_defconfig (attached as .config)
compiler: powerpc-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
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

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

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

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

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

Attachment: .config.gz
Description: Binary data