summaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorTodd E Brandt <todd.e.brandt@linux.intel.com>2014-12-13 05:06:46 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-30 02:10:41 +0100
commitc9257f78b4f785d200737d60453fff51b57a2356 (patch)
tree345fca36ee166f20e0191b45cf40a4882c83600e /kernel/trace
parentPM / sleep: Mention async suspend in PM_TRACE documentation (diff)
downloadlinux-c9257f78b4f785d200737d60453fff51b57a2356.tar.xz
linux-c9257f78b4f785d200737d60453fff51b57a2356.zip
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')
-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);