linux-next: build failure after merge of the perf tree

From: Stephen Rothwell
Date: Mon May 29 2023 - 19:05:37 EST

Hi all,

After merging the perf tree, today's linux-next build (powerpc perf)
failed like this:

arch/powerpc/util/kvm-stat.c: In function 'kvm_add_default_arch_event':
arch/powerpc/util/kvm-stat.c:207:21: error: implicit declaration of function 'pmu_have_event'; did you mean 'perf_pmu__have_event'? [-Werror=implicit-function-declaration]
207 | if (pmu_have_event("trace_imc", "trace_cycles")) {
| ^~~~~~~~~~~~~~
| perf_pmu__have_event

Caused by commit

1eaf496ed386 ("perf pmu: Separate pmu and pmus")

I have used the perf tree from next-20230525 for today.

Stephen Rothwell

Attachment: pgpTg1kHDJEPd.pgp
Description: OpenPGP digital signature