diff options
| -rw-r--r-- | drivers/devfreq/devfreq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 8928383a1fa1..6b6991f0e873 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c | |||
| @@ -29,6 +29,9 @@ | |||
| 29 | #include <linux/of.h> | 29 | #include <linux/of.h> |
| 30 | #include "governor.h" | 30 | #include "governor.h" |
| 31 | 31 | ||
| 32 | #define CREATE_TRACE_POINTS | ||
| 33 | #include <trace/events/devfreq.h> | ||
| 34 | |||
| 32 | static struct class *devfreq_class; | 35 | static struct class *devfreq_class; |
| 33 | 36 | ||
| 34 | /* | 37 | /* |
| @@ -394,6 +397,8 @@ static void devfreq_monitor(struct work_struct *work) | |||
| 394 | queue_delayed_work(devfreq_wq, &devfreq->work, | 397 | queue_delayed_work(devfreq_wq, &devfreq->work, |
| 395 | msecs_to_jiffies(devfreq->profile->polling_ms)); | 398 | msecs_to_jiffies(devfreq->profile->polling_ms)); |
| 396 | mutex_unlock(&devfreq->lock); | 399 | mutex_unlock(&devfreq->lock); |
| 400 | |||
| 401 | trace_devfreq_monitor(devfreq); | ||
| 397 | } | 402 | } |
| 398 | 403 | ||
| 399 | /** | 404 | /** |
