mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
c9257f78b4
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>
19 lines
376 B
C
19 lines
376 B
C
/*
|
|
* Power trace points
|
|
*
|
|
* Copyright (C) 2009 Arjan van de Ven <arjan@linux.intel.com>
|
|
*/
|
|
|
|
#include <linux/string.h>
|
|
#include <linux/types.h>
|
|
#include <linux/workqueue.h>
|
|
#include <linux/sched.h>
|
|
#include <linux/module.h>
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include <trace/events/power.h>
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(suspend_resume);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);
|
|
|