summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2021-06-30 23:51:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-10 10:34:44 -0400
commitfe14c2859ffd18ecec263b0e24a5737478ae2529 (patch)
tree646a97bd3c8088f15a31d1b25ad72d71e15abb30 /tools/perf/scripts/python/export-to-postgresql.py
parent828db598bfcdad388d85c1ff31e530c190d63d16 (diff)
amdgpu/pm: Replace smu11 usage of sprintf with sysfs_emit
modification of smu11 files arcturus_ppt.c sienna_cichlid_ppt.c vangogh_ppt.c === Test === AMDGPU_PCI_ADDR=`lspci -nn | grep "VGA\|Display" | cut -d " " -f 1` AMDGPU_HWMON=`ls -la /sys/class/hwmon | grep $AMDGPU_PCI_ADDR | awk '{print $9}'` HWMON_DIR=/sys/class/hwmon/${AMDGPU_HWMON} LOGFILE=pp_printf.test.log lspci -nn | grep "VGA\|Display" > $LOGFILE FILES="pp_dpm_sclk pp_power_profile_mode " for f in $FILES do echo === $f === >> $LOGFILE cat $HWMON_DIR/device/$f >> $LOGFILE done cat $LOGFILE Signed-off-by: Darren Powell <darren.powell@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions