[PATCH 01/13] perf/core: Add perf_arch_regs and mask to perf_regs structure

kbuild test robot lkp at intel.com
Mon Aug 29 10:21:43 AEST 2016


Hi Madhavan,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.8-rc4 next-20160825]
[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/Madhavan-Srinivasan/perf-core-Add-perf_arch_regs-and-mask-to-perf_regs-structure/20160829-050443
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
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   security/keys/compat.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   security/keys/keyctl.o:include/linux/perf_regs.h:60: first defined here
   security/keys/compat.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   security/keys/keyctl.o:include/linux/perf_regs.h:55: first defined here
   security/keys/compat.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   security/keys/keyctl.o:include/linux/perf_regs.h:65: first defined here
--
   kernel/bpf/arraymap.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/bpf/syscall.o:include/linux/perf_regs.h:60: first defined here
   kernel/bpf/arraymap.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/bpf/syscall.o:include/linux/perf_regs.h:55: first defined here
   kernel/bpf/arraymap.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/bpf/syscall.o:include/linux/perf_regs.h:65: first defined here
   kernel/bpf/stackmap.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/bpf/syscall.o:include/linux/perf_regs.h:60: first defined here
   kernel/bpf/stackmap.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/bpf/syscall.o:include/linux/perf_regs.h:55: first defined here
   kernel/bpf/stackmap.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/bpf/syscall.o:include/linux/perf_regs.h:65: first defined here
--
   kernel/locking/rtmutex-debug.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/locking/lockdep.o:include/linux/perf_regs.h:55: first defined here
   kernel/locking/rtmutex-debug.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/locking/lockdep.o:include/linux/perf_regs.h:60: first defined here
   kernel/locking/rtmutex-debug.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/locking/lockdep.o:include/linux/perf_regs.h:65: first defined here
--
   kernel/power/process.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/power/qos.o:include/linux/perf_regs.h:60: first defined here
   kernel/power/process.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/power/qos.o:include/linux/perf_regs.h:55: first defined here
   kernel/power/process.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/power/qos.o:include/linux/perf_regs.h:65: first defined here
   kernel/power/hibernate.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/power/qos.o:include/linux/perf_regs.h:60: first defined here
   kernel/power/hibernate.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/power/qos.o:include/linux/perf_regs.h:55: first defined here
   kernel/power/hibernate.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/power/qos.o:include/linux/perf_regs.h:65: first defined here
   kernel/power/snapshot.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/power/qos.o:include/linux/perf_regs.h:60: first defined here
   kernel/power/snapshot.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/power/qos.o:include/linux/perf_regs.h:55: first defined here
   kernel/power/snapshot.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/power/qos.o:include/linux/perf_regs.h:65: first defined here
   kernel/power/user.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/power/qos.o:include/linux/perf_regs.h:60: first defined here
   kernel/power/user.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/power/qos.o:include/linux/perf_regs.h:55: first defined here
   kernel/power/user.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/power/qos.o:include/linux/perf_regs.h:65: first defined here
--
   kernel/rcu/tree.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/rcu/update.o:include/linux/perf_regs.h:60: first defined here
   kernel/rcu/tree.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/rcu/update.o:include/linux/perf_regs.h:55: first defined here
   kernel/rcu/tree.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/rcu/update.o:include/linux/perf_regs.h:65: first defined here
--
   kernel/sched/idle.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/sched/core.o:include/linux/perf_regs.h:60: first defined here
   kernel/sched/idle.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/sched/core.o:include/linux/perf_regs.h:55: first defined here
   kernel/sched/idle.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/sched/core.o:include/linux/perf_regs.h:65: first defined here
--
   kernel/time/timer.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/time/time.o:include/linux/perf_regs.h:60: first defined here
   kernel/time/timer.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/time/time.o:include/linux/perf_regs.h:55: first defined here
   kernel/time/timer.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/time/time.o:include/linux/perf_regs.h:65: first defined here
   kernel/time/hrtimer.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/time/time.o:include/linux/perf_regs.h:60: first defined here
   kernel/time/hrtimer.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/time/time.o:include/linux/perf_regs.h:55: first defined here
   kernel/time/hrtimer.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/time/time.o:include/linux/perf_regs.h:65: first defined here
   kernel/time/itimer.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/time/time.o:include/linux/perf_regs.h:60: first defined here
   kernel/time/itimer.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/time/time.o:include/linux/perf_regs.h:55: first defined here
   kernel/time/itimer.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/time/time.o:include/linux/perf_regs.h:65: first defined here
   kernel/time/posix-timers.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/time/time.o:include/linux/perf_regs.h:60: first defined here
   kernel/time/posix-timers.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/time/time.o:include/linux/perf_regs.h:55: first defined here
   kernel/time/posix-timers.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/time/time.o:include/linux/perf_regs.h:65: first defined here
   kernel/time/posix-clock.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/time/time.o:include/linux/perf_regs.h:60: first defined here
   kernel/time/posix-clock.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/time/time.o:include/linux/perf_regs.h:55: first defined here
   kernel/time/posix-clock.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/time/time.o:include/linux/perf_regs.h:65: first defined here
   kernel/time/tick-common.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/time/time.o:include/linux/perf_regs.h:60: first defined here
   kernel/time/tick-common.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/time/time.o:include/linux/perf_regs.h:55: first defined here
   kernel/time/tick-common.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/time/time.o:include/linux/perf_regs.h:65: first defined here
--
   drivers/s390/scsi/zfcp_ccw.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_ccw.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_ccw.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:65: first defined here
   drivers/s390/scsi/zfcp_dbf.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_dbf.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_dbf.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:65: first defined here
   drivers/s390/scsi/zfcp_erp.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_erp.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_erp.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:65: first defined here
   drivers/s390/scsi/zfcp_fc.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_fc.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_fc.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:65: first defined here
   drivers/s390/scsi/zfcp_fsf.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_fsf.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_fsf.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:65: first defined here
   drivers/s390/scsi/zfcp_qdio.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_qdio.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_qdio.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:65: first defined here
   drivers/s390/scsi/zfcp_scsi.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:60: first defined here
   drivers/s390/scsi/zfcp_scsi.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/s390/scsi/zfcp_aux.o:include/linux/perf_regs.h:55: first defined here
   drivers/s390/scsi/zfcp_scsi.o: In function `perf_arch_reg_value':
--
   kernel/trace/ring_buffer.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/ring_buffer.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/ring_buffer.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:65: first defined here
   kernel/trace/trace.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/trace.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/trace.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:65: first defined here
   kernel/trace/trace_output.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/trace_output.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/trace_output.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:65: first defined here
   kernel/trace/trace_stat.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/trace_stat.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/trace_stat.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:65: first defined here
   kernel/trace/trace_printk.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/trace_printk.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/trace_printk.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:65: first defined here
   kernel/trace/trace_sched_switch.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/trace_sched_switch.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/trace_sched_switch.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:65: first defined here
   kernel/trace/trace_functions.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:55: first defined here
   kernel/trace/trace_functions.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   kernel/trace/libftrace.o:include/linux/perf_regs.h:60: first defined here
   kernel/trace/trace_functions.o: In function `perf_arch_reg_value':
--
   net/core/built-in.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   net/socket.o:include/linux/perf_regs.h:60: first defined here
   net/core/built-in.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   net/socket.o:include/linux/perf_regs.h:55: first defined here
   net/core/built-in.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   net/socket.o:include/linux/perf_regs.h:65: first defined here
   net/compat.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   net/socket.o:include/linux/perf_regs.h:60: first defined here
   net/compat.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   net/socket.o:include/linux/perf_regs.h:55: first defined here
   net/compat.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   net/socket.o:include/linux/perf_regs.h:65: first defined here
--
   drivers/base/power/main.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/base/power/qos.o:include/linux/perf_regs.h:60: first defined here
   drivers/base/power/main.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/base/power/qos.o:include/linux/perf_regs.h:55: first defined here
   drivers/base/power/main.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/base/power/qos.o:include/linux/perf_regs.h:65: first defined here
   drivers/base/power/wakeup.o: In function `perf_get_arch_reg':
>> include/linux/perf_regs.h:60: multiple definition of `perf_get_arch_reg'
   drivers/base/power/qos.o:include/linux/perf_regs.h:60: first defined here
   drivers/base/power/wakeup.o: In function `perf_get_arch_regs_mask':
>> include/linux/perf_regs.h:55: multiple definition of `perf_get_arch_regs_mask'
   drivers/base/power/qos.o:include/linux/perf_regs.h:55: first defined here
   drivers/base/power/wakeup.o: In function `perf_arch_reg_value':
>> include/linux/perf_regs.h:65: multiple definition of `perf_arch_reg_value'
   drivers/base/power/qos.o:include/linux/perf_regs.h:65: first defined here
..

vim +60 include/linux/perf_regs.h

    49		regs_user->abi = perf_reg_abi(current);
    50	}
    51	
    52	u64 perf_get_arch_regs_mask(void)
    53	{
    54		return 0;
  > 55	}
    56	
    57	struct perf_arch_regs *perf_get_arch_reg(void)
    58	{
    59		return 0;
  > 60	}
    61	
    62	u64 perf_arch_reg_value(struct perf_arch_regs *regs, int idx)
    63	{
    64		return 0;
  > 65	}
    66	#endif /* CONFIG_HAVE_PERF_REGS */
    67	#endif /* _LINUX_PERF_REGS_H */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 16247 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160829/28668049/attachment-0001.obj>


More information about the Linuxppc-dev mailing list