summaryrefslogtreecommitdiff
path: root/kernel/trace/power-traces.c
diff options
context:
space:
mode:
authorTodd E Brandt <todd.e.brandt@linux.intel.com>2014-12-13 07:06:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-30 04:10:41 +0300
commitc9257f78b4f785d200737d60453fff51b57a2356 (patch)
tree345fca36ee166f20e0191b45cf40a4882c83600e /kernel/trace/power-traces.c
parenta03ff6f20c396fb84cf61501a31fefdf0a5eb5a7 (diff)
downloadlinux-c9257f78b4f785d200737d60453fff51b57a2356.tar.xz
PM / sleep: export suspend_resume trace event
Export the suspend_resume tracepoint so it can be used in loadable modules. Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/trace/power-traces.c')
-rw-r--r--kernel/trace/power-traces.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/power-traces.c b/kernel/trace/power-traces.c
index 1c71382b283d..eb4220a132ec 100644
--- a/kernel/trace/power-traces.c
+++ b/kernel/trace/power-traces.c
@@ -13,5 +13,6 @@
#define CREATE_TRACE_POINTS
#include <trace/events/power.h>
+EXPORT_TRACEPOINT_SYMBOL_GPL(suspend_resume);
EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);