OSDN Git Service

cpufreq: powernv/tracing: Add powernv_throttle tracepoint
authorShilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com>
Tue, 2 Feb 2016 19:41:40 +0000 (01:11 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 5 Feb 2016 01:38:02 +0000 (02:38 +0100)
commit0306e481d479a58eff17c27adf213fbb5822946b
tree76aa8ce2f207e9014062b78fe7d72e18e9f115d8
parent96c4726f01cdbf53acf74cf2394e287d74bf40a3
cpufreq: powernv/tracing: Add powernv_throttle tracepoint

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>
include/trace/events/power.h
kernel/trace/power-traces.c