diff options
author | Todd E Brandt <todd.e.brandt@linux.intel.com> | 2014-12-13 05:06:46 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-30 02:10:41 +0100 |
commit | c9257f78b4f785d200737d60453fff51b57a2356 (patch) | |
tree | 345fca36ee166f20e0191b45cf40a4882c83600e /kernel/trace | |
parent | PM / sleep: Mention async suspend in PM_TRACE documentation (diff) | |
download | linux-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.c | 1 |
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); |