diff options
| author | Rafael J. Wysocki <[email protected]> | 2017-03-03 22:51:31 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-03-04 00:38:42 +0000 |
| commit | 6407829901f074cf6beef566d6af9a0b0e238f0d (patch) | |
| tree | 802307972d0c9381851bcb76c38f3ddfc0384983 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | cpufreq: intel_pstate: Fix intel_cpufreq_verify_policy() (diff) | |
| download | kernel-6407829901f074cf6beef566d6af9a0b0e238f0d.tar.gz kernel-6407829901f074cf6beef566d6af9a0b0e238f0d.zip | |
cpufreq: intel_pstate: Avoid triggering cpu_frequency tracepoint unnecessarily
In the passive mode the cpu_frequency trace event is already
triggered by the cpufreq core or by scaling governors, so
intel_pstate should not trigger it once again for the same
P-state updates.
In addition to that, the frequency returned by
intel_cpufreq_fast_switch() and passed via freqs.new from
intel_cpufreq_target() to cpufreq_freq_transition_end() should
reflect the P-state actually set, so make that happen.
Fixes: 001c76f05b01 (cpufreq: intel_pstate: Generic governors support)
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
