Re: [PATCH v2 1/5] perf/x86/rapl: move RAPL support to common x86 code

From: Johannes Hirte
Date: Mon Jun 01 2020 - 08:44:30 EST


On 2020 Mai 27, Stephane Eranian wrote:

...
> diff --git a/arch/x86/events/Makefile b/arch/x86/events/Makefile
> index 6f1d1fde8b2de..12c42eba77ec3 100644
> --- a/arch/x86/events/Makefile
> +++ b/arch/x86/events/Makefile
> @@ -1,5 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0-only
> obj-y += core.o probe.o
> +obj-$(PERF_EVENTS_INTEL_RAPL) += rapl.o
> obj-y += amd/
> obj-$(CONFIG_X86_LOCAL_APIC) += msr.o
> obj-$(CONFIG_CPU_SUP_INTEL) += intel/

With this change, rapl won't be build. Must be:

obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL) += rapl.o

--
Regards,
Johannes Hirte