* [tip:perf/core 36/37] kernel/events/core.c:2856:8: error: implicit declaration of function 'modify_user_hw_breakpoint_check'; did you mean 'modify_user_hw_breakpoint'?
@ 2018-03-13 7:29 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-03-13 7:29 UTC (permalink / raw)
To: Milind Chabbi; +Cc: kbuild-all, linux-kernel, tipbuild, Ingo Molnar, Jiri Olsa
[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
head: 5acc575fec9f424f0b557844dbda8aed57baae1e
commit: f30b09b7f8aed3180d6e2f2984e32e91c7a7fcd1 [36/37] perf/core: Implement fast breakpoint modification via _IOC_MODIFY_ATTRIBUTES
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f30b09b7f8aed3180d6e2f2984e32e91c7a7fcd1
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All errors (new ones prefixed by >>):
kernel/events/core.c: In function 'perf_event_modify_breakpoint':
>> kernel/events/core.c:2856:8: error: implicit declaration of function 'modify_user_hw_breakpoint_check'; did you mean 'modify_user_hw_breakpoint'? [-Werror=implicit-function-declaration]
err = modify_user_hw_breakpoint_check(bp, attr, true);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modify_user_hw_breakpoint
cc1: some warnings being treated as errors
vim +2856 kernel/events/core.c
2848
2849 static int perf_event_modify_breakpoint(struct perf_event *bp,
2850 struct perf_event_attr *attr)
2851 {
2852 int err;
2853
2854 _perf_event_disable(bp);
2855
> 2856 err = modify_user_hw_breakpoint_check(bp, attr, true);
2857 if (err) {
2858 if (!bp->attr.disabled)
2859 _perf_event_enable(bp);
2860
2861 return err;
2862 }
2863
2864 if (!attr->disabled)
2865 _perf_event_enable(bp);
2866 return 0;
2867 }
2868
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53371 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-13 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13 7:29 [tip:perf/core 36/37] kernel/events/core.c:2856:8: error: implicit declaration of function 'modify_user_hw_breakpoint_check'; did you mean 'modify_user_hw_breakpoint'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®