Re: [PATCH 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

From: kbuild test robot
Date: Thu Nov 10 2016 - 08:10:56 EST


Hi Hari,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.9-rc4]
[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/Hari-Bathini/perf-add-support-for-analyzing-events-for-containers/20161110-195727
config: ia64-allnoconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
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=ia64

All errors (new ones prefixed by >>):

kernel/fork.c: In function 'copy_process':
>> kernel/fork.c:1818:2: error: implicit declaration of function 'perf_event_namespaces' [-Werror=implicit-function-declaration]
perf_event_namespaces(p);
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
kernel/nsproxy.c: In function 'SYSC_setns':
>> kernel/nsproxy.c:270:3: error: implicit declaration of function 'perf_event_namespaces' [-Werror=implicit-function-declaration]
perf_event_namespaces(tsk);
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/perf_event_namespaces +1818 kernel/fork.c

1812 write_unlock_irq(&tasklist_lock);
1813
1814 proc_fork_connector(p);
1815 cgroup_post_fork(p);
1816 threadgroup_change_end(current);
1817 perf_event_fork(p);
> 1818 perf_event_namespaces(p);
1819
1820 trace_task_newtask(p, clone_flags);
1821 uprobe_copy_process(p, clone_flags);

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

Attachment: .config.gz
Description: application/gzip