diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2013-01-11 07:43:45 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 18:39:12 -0500 |
commit | 43720bd6014327ac454434496cb953edcdb9f8d6 (patch) | |
tree | be134a588abb3164b7c5f9093707e536f9c54a05 /drivers/cpufreq/cpufreq.c | |
parent | ed1ac6e91a3ff7c561008ba57747cd6cbc49385e (diff) |
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>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 1f93dbd72355..99faadf454ec 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -294,7 +294,6 @@ void cpufreq_notify_transition(struct cpufreq_freqs *freqs, unsigned int state) | |||
294 | adjust_jiffies(CPUFREQ_POSTCHANGE, freqs); | 294 | adjust_jiffies(CPUFREQ_POSTCHANGE, freqs); |
295 | pr_debug("FREQ: %lu - CPU: %lu", (unsigned long)freqs->new, | 295 | pr_debug("FREQ: %lu - CPU: %lu", (unsigned long)freqs->new, |
296 | (unsigned long)freqs->cpu); | 296 | (unsigned long)freqs->cpu); |
297 | trace_power_frequency(POWER_PSTATE, freqs->new, freqs->cpu); | ||
298 | trace_cpu_frequency(freqs->new, freqs->cpu); | 297 | trace_cpu_frequency(freqs->new, freqs->cpu); |
299 | srcu_notifier_call_chain(&cpufreq_transition_notifier_list, | 298 | srcu_notifier_call_chain(&cpufreq_transition_notifier_list, |
300 | CPUFREQ_POSTCHANGE, freqs); | 299 | CPUFREQ_POSTCHANGE, freqs); |