diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-03-18 16:56:43 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-04-18 12:54:46 +0200 |
commit | 4a3dc121d3c370625575247bf714db3f601d83e9 (patch) | |
tree | bf34484da0188a13bbab3fe162b0e95161753b80 /arch/x86 | |
parent | 8588a2bbddc524325d84d1d6996758e9242e4ffc (diff) | |
download | linux-4a3dc121d3c370625575247bf714db3f601d83e9.tar.gz linux-4a3dc121d3c370625575247bf714db3f601d83e9.tar.bz2 linux-4a3dc121d3c370625575247bf714db3f601d83e9.zip |
perf/x86: Export perf_assign_events()
export perf_assign_events to allow building perf Intel uncore driver
as module
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1395133004-23205-3-git-send-email-zheng.z.yan@intel.com
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: eranian@google.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index ae407f7226c8..89f3b7c1af20 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c @@ -721,6 +721,7 @@ int perf_assign_events(struct perf_event **events, int n, return sched.state.unassigned; } +EXPORT_SYMBOL_GPL(perf_assign_events); int x86_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign) { |