Re: [PATCH] Introduce callchains for guests

From: kernel test robot
Date: Thu Aug 31 2023 - 05:46:01 EST


Hi Tianyi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tip/perf/core]
[also build test WARNING on acme/perf/core linus/master v6.5 next-20230831]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Tianyi-Liu/Introduce-callchains-for-guests/20230831-161333
base: tip/perf/core
patch link: https://lore.kernel.org/r/SY4P282MB10848199D3F93AA47A845B8B9DE5A%40SY4P282MB1084.AUSP282.PROD.OUTLOOK.COM
patch subject: [PATCH] Introduce callchains for guests
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230831/202308311743.uvv4Ras8-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230831/202308311743.uvv4Ras8-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308311743.uvv4Ras8-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/events/callchain.c:48:13: warning: no previous prototype for 'perf_callchain_guest' [-Wmissing-prototypes]
48 | __weak void perf_callchain_guest(struct perf_callchain_entry_ctx *entry)
| ^~~~~~~~~~~~~~~~~~~~


vim +/perf_callchain_guest +48 kernel/events/callchain.c

47
> 48 __weak void perf_callchain_guest(struct perf_callchain_entry_ctx *entry)
49 {
50 }
51

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki