diff options
author | Huang Rui <ray.huang@amd.com> | 2021-12-24 04:05:03 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-12-30 20:51:39 +0300 |
commit | 60e10f896dbf6d78f912e4972081bd4119131376 (patch) | |
tree | ae87ffc0d81905b32c729894dee58f0ce172613e /drivers/cpufreq/amd-pstate-trace.c | |
parent | e059c184da47e92c6236f26b0fdaf9e92f0d55b5 (diff) | |
download | linux-60e10f896dbf6d78f912e4972081bd4119131376.tar.xz |
cpufreq: amd-pstate: Add trace for AMD P-State module
Add trace event to monitor the performance value changes which is
controlled by cpu governors.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/amd-pstate-trace.c')
-rw-r--r-- | drivers/cpufreq/amd-pstate-trace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/amd-pstate-trace.c b/drivers/cpufreq/amd-pstate-trace.c new file mode 100644 index 000000000000..891b696dcd69 --- /dev/null +++ b/drivers/cpufreq/amd-pstate-trace.c @@ -0,0 +1,2 @@ +#define CREATE_TRACE_POINTS +#include "amd-pstate-trace.h" |