diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-02-22 17:19:27 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-29 03:35:27 -0500 |
commit | 675965b00d734c985e4285f5bec7e524d15fc4e1 (patch) | |
tree | 2ababfae7b9627afa1c71a662aef674d126e8aba | |
parent | 9de8d686955b0e8e27847ed4edbbcd280f3fd853 (diff) |
perf: Export perf_event_sysfs_show()
Required to use it in modular perf drivers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andi Kleen <andi.kleen@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Harish Chegondi <harish.chegondi@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
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>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/20160222221012.930735780@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | kernel/events/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index df5589fa8bf0..5dcc0bd08d11 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c | |||
@@ -9446,6 +9446,7 @@ ssize_t perf_event_sysfs_show(struct device *dev, struct device_attribute *attr, | |||
9446 | 9446 | ||
9447 | return 0; | 9447 | return 0; |
9448 | } | 9448 | } |
9449 | EXPORT_SYMBOL_GPL(perf_event_sysfs_show); | ||
9449 | 9450 | ||
9450 | static int __init perf_event_sysfs_init(void) | 9451 | static int __init perf_event_sysfs_init(void) |
9451 | { | 9452 | { |