aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJinzhou Su <[email protected]>2022-03-09 09:23:48 +0800
committerRafael J. Wysocki <[email protected]>2022-03-09 19:53:01 +0100
commit23c296fb7eeea99dec035521c07ae54c28b8a267 (patch)
tree697118ba2f781d14a78fbe6799e8da2d210c9208 /tools/perf/util/scripting-engines/trace-event-python.c
parenta1b6f487cb47ad99ee14730f03c80d3eb4c71e8a (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 <[email protected]> Co-developed-by: Huang Rui <[email protected]> Signed-off-by: Huang Rui <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions