summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDoug Smythies <doug.smythies@gmail.com>2018-05-14 08:35:49 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-14 23:34:25 +0200
commit50e9ffaba5ccaac01c5deb17f32b501ba3ed72f0 (patch)
treea5ec6be168e51cc659e101c3119498ab7c284377 /drivers/mtd
parent20b5324d8353d66e68e8c40031e438c247cf2d65 (diff)
downloadlinux-next-50e9ffaba5ccaac01c5deb17f32b501ba3ed72f0.tar.gz
cpufreq: intel_pstate: allow trace in passive mode
Allow use of the trace_pstate_sample trace function when the intel_pstate driver is in passive mode. Since the core_busy and scaled_busy fields are not used, and it might be desirable to know which path through the driver was used, either intel_cpufreq_target or intel_cpufreq_fast_switch, re-task the core_busy field as a flag indicator. The user can then use the intel_pstate_tracer.py utility to summarize and plot the trace. Note: The core_busy feild still goes by that name in include/trace/events/power.h and within the intel_pstate_tracer.py script and csv file headers, but it is graphed as "performance", and called core_avg_perf now in the intel_pstate driver. Sometimes, in passive mode, the driver is not called for many tens or even hundreds of seconds. The user needs to understand, and not be confused by, this limitation. Signed-off-by: Doug Smythies <dsmythies@telus.net> 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/mtd')
0 files changed, 0 insertions, 0 deletions