mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Ming Lei](/assets/img/avatar_default.png)
This patch introduces 3 trace points to prepare for tracing rpm_idle/rpm_suspend/rpm_resume functions, so we can use these trace points to replace the current dev_dbg(). Signed-off-by: Ming Lei <ming.lei@canonical.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
20 lines
474 B
C
20 lines
474 B
C
/*
|
|
* Power trace points
|
|
*
|
|
* Copyright (C) 2009 Ming Lei <ming.lei@canonical.com>
|
|
*/
|
|
|
|
#include <linux/string.h>
|
|
#include <linux/types.h>
|
|
#include <linux/workqueue.h>
|
|
#include <linux/sched.h>
|
|
#include <linux/module.h>
|
|
#include <linux/usb.h>
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include <trace/events/rpm.h>
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(rpm_return_int);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(rpm_idle);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(rpm_suspend);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(rpm_resume);
|