From: Thomas Gleixner Date: Mon, 22 Feb 2016 22:19:27 +0000 (+0000) Subject: perf: Export perf_event_sysfs_show() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=675965b00d734c985e4285f5bec7e524d15fc4e1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git perf: Export perf_event_sysfs_show() Required to use it in modular perf drivers. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Cc: Andi Kleen Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Harish Chegondi Cc: Jacob Pan Cc: Jiri Olsa Cc: Kan Liang Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Vince Weaver Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/20160222221012.930735780@linutronix.de Signed-off-by: Ingo Molnar --- 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, return 0; } +EXPORT_SYMBOL_GPL(perf_event_sysfs_show); static int __init perf_event_sysfs_init(void) {