Re: [PATCH] perf/core: fix the bug in the event multiplexing

From: kernel test robot
Date: Tue Aug 08 2023 - 23:57:34 EST


Hi Huang,

kernel test robot noticed the following build warnings:

[auto build test WARNING on kvm/queue]
[also build test WARNING on kvmarm/next tip/perf/core linus/master v6.5-rc5 next-20230808]
[cannot apply to acme/perf/core kvm/linux-next]
[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/Huang-Shijie/perf-core-fix-the-bug-in-the-event-multiplexing/20230809-094637
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
patch link: https://lore.kernel.org/r/20230809013953.7692-1-shijie%40os.amperecomputing.com
patch subject: [PATCH] perf/core: fix the bug in the event multiplexing
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20230809/202308091142.nsjuu1ek-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230809/202308091142.nsjuu1ek-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/202308091142.nsjuu1ek-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/events/core.c:4232:13: warning: no previous prototype for 'arch_perf_rotate_pmu_set' [-Wmissing-prototypes]
4232 | void __weak arch_perf_rotate_pmu_set(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/arch_perf_rotate_pmu_set +4232 kernel/events/core.c

4231
> 4232 void __weak arch_perf_rotate_pmu_set(void)
4233 {
4234 }
4235

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