Hi Hari,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.9-rc6]
[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/20161125-061105
config: ia64-allmodconfig (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 'SYSC_unshare':
>> kernel/fork.c:2284:3: error: implicit declaration of function 
>> 'perf_event_namespaces' [-Werror=implicit-function-declaration]
      perf_event_namespaces(current);
      ^~~~~~~~~~~~~~~~~~~~~
   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 +2284 kernel/fork.c

  2278  bad_unshare_cleanup_fs:
  2279          if (new_fs)
  2280                  free_fs_struct(new_fs);
  2281  
  2282  bad_unshare_out:
  2283          if (!err)
> 2284                  perf_event_namespaces(current);
  2285  
  2286          return err;
  2287  }

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

Attachment: .config.gz
Description: application/gzip

Reply via email to