]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/cpufreq/intel_pstate.c
intel_pstate: Add tsc collection and keep previous target pstate
authorDoug Smythies <doug.smythies@gmail.com>
Sun, 12 Apr 2015 04:10:26 +0000 (21:10 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 May 2015 23:08:54 +0000 (01:08 +0200)
commit4055fad34086dcf5229c43846e0a3cf0fb3692e3
tree7774e7a9aacc88c229c7d3873c7a0915c3087c0c
parentb904f5cce1aeb9a9ee5ca7f1a31c32e1f3487c8b
intel_pstate: Add tsc collection and keep previous target pstate

The intel_pstate driver is difficult to debug and investigate without tsc.

Also, it is likely use of tsc, and some version of C0 percentage,
will be re-introdcued in futute.

There have also been occasions where it is desirebale to know, and
confirm, the previous target pstate.

This patch brings back tsc, adds previous target pstate,
and adds both to the trace data collection.

Signed-off-by: Doug Smythies <dsmythies@telus.net>
Acked-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c
include/trace/events/power.h