perf/x86: Export perf_assign_events()
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 18 Mar 2014 08:56:43 +0000 (16:56 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Apr 2014 10:54:46 +0000 (12:54 +0200)
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>
arch/x86/kernel/cpu/perf_event.c

index ae407f7226c89961fde14ddd6d932f174c64d8fc..89f3b7c1af2060556eb0aac096f09f2ecebeddf4 100644 (file)
@@ -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)
 {