diff options
author | 2020-03-05 14:45:23 -0800 | |
---|---|---|
committer | 2020-03-20 14:46:21 +0200 | |
commit | ac9d05ea4cfb99dd24767f2510ca526282fffa13 (patch) | |
tree | a9890e0146da20f8132389603bfb5c9716d23ab1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power/x86/intel-speed-select: Add an API for error/information print (diff) | |
download | linux-dev-ac9d05ea4cfb99dd24767f2510ca526282fffa13.tar.xz linux-dev-ac9d05ea4cfb99dd24767f2510ca526282fffa13.zip |
tools/power/x86/intel-speed-select: Improve error display for perf-profile feature
This change adds improved error display and handling for commands related
to perf-profile feature. The changes include:
- When invalid TDP level is passed. display error and exit
- Replace perror with helpful error message
- Show error when TDP level can't be set
- Print error when information can't be read for a level
- Validate user options for invalid level
- Display error for TDP lock status
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions