]> git.karo-electronics.de Git - linux-beck.git/commit
PM / tracing: remove deprecated power trace API
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 11 Jan 2013 12:43:45 +0000 (13:43 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 25 Jan 2013 23:39:12 +0000 (00:39 +0100)
commit43720bd6014327ac454434496cb953edcdb9f8d6
treebe134a588abb3164b7c5f9093707e536f9c54a05
parented1ac6e91a3ff7c561008ba57747cd6cbc49385e
PM / tracing: remove deprecated power trace API

The text in Documentation said it would be removed in 2.6.41;
the text in the Kconfig said removal in the 3.1 release.  Either
way you look at it, we are well past both, so push it off a cliff.

Note that the POWER_CSTATE and the POWER_PSTATE are part of the
legacy tracing API.  Remove all tracepoints which use these flags.
As can be seen from context, most already have a trace entry via
trace_cpu_idle anyways.

Also, the cpufreq/cpufreq.c PSTATE one is actually unpaired, as
compared to the CSTATE ones which all have a clear start/stop.
As part of this, the trace_power_frequency also becomes orphaned,
so it too is deleted.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/trace/events-power.txt
arch/arm/mach-omap2/pm34xx.c
arch/x86/kernel/process.c
drivers/cpufreq/cpufreq.c
drivers/cpuidle/cpuidle.c
include/trace/events/power.h
kernel/trace/Kconfig
kernel/trace/power-traces.c