* [android-common:mirror-chromeos-5.10-arcvm 6053/29452] arch/arm64/kvm/perf.c:58:43: error: implicit declaration of function 'perf_num_counters'; did you mean 'dec_mm_counter'?
@ 2023-09-25 19:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-25 19:06 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Marc,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common mirror-chromeos-5.10-arcvm
head: 78a7b2c814b120e7f0822ae5ae486bc2f8cd722d
commit: 13dbdc0759fd4b89417f64d399ffa6a86fdc7caf [6053/29452] FROMGIT: KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static key
config: arm64-randconfig-002-20230925 (https://download.01.org/0day-ci/archive/20230926/202309260331.M5esHuwL-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230926/202309260331.M5esHuwL-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309260331.M5esHuwL-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kvm/perf.c: In function 'kvm_perf_init':
>> arch/arm64/kvm/perf.c:58:43: error: implicit declaration of function 'perf_num_counters'; did you mean 'dec_mm_counter'? [-Werror=implicit-function-declaration]
58 | if (IS_ENABLED(CONFIG_ARM_PMU) && perf_num_counters() > 0)
| ^~~~~~~~~~~~~~~~~
| dec_mm_counter
cc1: some warnings being treated as errors
vim +58 arch/arm64/kvm/perf.c
50
51 int kvm_perf_init(void)
52 {
53 /*
54 * Check if HW_PERF_EVENTS are supported by checking the number of
55 * hardware performance counters. This could ensure the presence of
56 * a physical PMU and CONFIG_PERF_EVENT is selected.
57 */
> 58 if (IS_ENABLED(CONFIG_ARM_PMU) && perf_num_counters() > 0)
59 static_branch_enable(&kvm_arm_pmu_available);
60
61 return perf_register_guest_info_callbacks(&kvm_guest_cbs);
62 }
63
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-25 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25 19:06 [android-common:mirror-chromeos-5.10-arcvm 6053/29452] arch/arm64/kvm/perf.c:58:43: error: implicit declaration of function 'perf_num_counters'; did you mean 'dec_mm_counter'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.