intel_pstate: Add trace point to report internal state.
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Thu, 16 Jan 2014 18:32:25 +0000 (10:32 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Jan 2014 01:00:44 +0000 (02:00 +0100)
commitb69880f9ccf7e13b2e2cb38f49a2451d7aa548b3
tree65f402f165b9b4f33ccac597202a82acfe845bdf
parent652ed95d5fa6074b3c4ea245deb0691f1acb6656
intel_pstate: Add trace point to report internal state.

Add perf trace event "power:pstate_sample" to report driver state to
aid in diagnosing issues reported against intel_pstate.

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c
include/trace/events/power.h