summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/amd-pstate-trace.c
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2021-12-24 09:05:03 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-12-30 18:51:39 +0100
commit60e10f896dbf6d78f912e4972081bd4119131376 (patch)
treeae87ffc0d81905b32c729894dee58f0ce172613e /drivers/cpufreq/amd-pstate-trace.c
parente059c184da47e92c6236f26b0fdaf9e92f0d55b5 (diff)
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.c2
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"