-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/perf/intel/cstate: Modularize driver
Add the exit function and allow the driver to be built as a module. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Borislav Petkov <bp@suse.de> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: http://lkml.kernel.org/r/20160320185623.658869675@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
- Loading branch information
Thomas Gleixner
authored and
Ingo Molnar
committed
Mar 31, 2016
1 parent
d29859e
commit c7afba3
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o cqm.o | ||
obj-$(CONFIG_CPU_SUP_INTEL) += cstate.o ds.o knc.o | ||
obj-$(CONFIG_CPU_SUP_INTEL) += ds.o knc.o | ||
obj-$(CONFIG_CPU_SUP_INTEL) += lbr.o p4.o p6.o pt.o | ||
obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL) += intel-rapl.o | ||
intel-rapl-objs := rapl.o | ||
obj-$(CONFIG_PERF_EVENTS_INTEL_UNCORE) += intel-uncore.o | ||
intel-uncore-objs := uncore.o uncore_nhmex.o uncore_snb.o uncore_snbep.o | ||
obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o | ||
intel-cstate-objs := cstate.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters