mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
0306e481d4
This patch adds the powernv_throttle tracepoint to trace the CPU frequency throttling event, which is used by the powernv-cpufreq driver in POWER8. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
20 lines
424 B
C
20 lines
424 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);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(powernv_throttle);
|
|
|