diff options
author | Jinzhou Su <Jinzhou.Su@amd.com> | 2022-03-09 09:23:48 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-03-09 19:53:01 +0100 |
commit | 23c296fb7eeea99dec035521c07ae54c28b8a267 (patch) | |
tree | 697118ba2f781d14a78fbe6799e8da2d210c9208 /drivers/usb/cdns3/cdnsp-debug.h | |
parent | a1b6f487cb47ad99ee14730f03c80d3eb4c71e8a (diff) |
cpufreq: amd-pstate: Add more tracepoint for AMD P-State module
Add frequency, mperf, aperf and tsc in the trace. This can be used
to debug and tune the performance of AMD P-state driver.
Use the time difference between amd_pstate_update to calculate CPU
frequency. There could be sleep in arch_freq_get_on_cpu, so do not
use it here.
Signed-off-by: Jinzhou Su <Jinzhou.Su@amd.com>
Co-developed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions