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

Stephen Rothwell
2023-05-29T23:05:38Z

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

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.

--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]