diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2016-09-13 17:41:33 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-09-16 23:55:30 +0200 |
commit | 3ba7bcaa3657f5fe32295ebd17fbdaaf16608e2f (patch) | |
tree | 0f4e6e0ccf8603afa6b703c8d9ffb73ab54addc2 /drivers/cpufreq/intel_pstate.c | |
parent | 09c448d3c61f31322c097cb4c1484778d50da399 (diff) | |
download | op-kernel-dev-3ba7bcaa3657f5fe32295ebd17fbdaaf16608e2f.zip op-kernel-dev-3ba7bcaa3657f5fe32295ebd17fbdaaf16608e2f.tar.gz |
cpufreq: intel_pstate: Add io_boost trace
Add io_boost percent to current pstate_sample tracepoint.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 7c457cc..86c29af 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -1316,7 +1316,8 @@ static inline void intel_pstate_adjust_busy_pstate(struct cpudata *cpu) sample->mperf, sample->aperf, sample->tsc, - get_avg_frequency(cpu)); + get_avg_frequency(cpu), + fp_toint(cpu->iowait_boost * 100)); } static void intel_pstate_update_util(struct update_util_data *data, u64 time, |