summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>2024-08-20 19:47:59 +0300
committerLen Brown <len.brown@intel.com>2024-12-01 00:42:06 +0300
commitae2cdf8d92ffc326104524a1f9da4cf75b6ea996 (patch)
tree74c559d4ebee05ccc94598a4862d955f0f80aac8 /tools/perf/scripts/python/export-to-postgresql.py
parentea8614c08d7f725729910f464c01577d036f38f5 (diff)
downloadlinux-ae2cdf8d92ffc326104524a1f9da4cf75b6ea996.tar.xz
tools/power turbostat: Allow using cpu device in perf counters on hybrid platforms
Intel hybrid platforms expose different perf devices for P and E cores. Instead of one, "/sys/bus/event_source/devices/cpu" device, there are "/sys/bus/event_source/devices/{cpu_core,cpu_atom}". This, however makes it more complicated for the user, because most of the counters are available on both and had to be handled manually. This patch allows users to use "virtual" cpu device that is seemingly translated to cpu_core and cpu_atom perf devices, depending on the type of a CPU we are opening the counter for. Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions