summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorYiwei Lin <s921975628@gmail.com>2025-02-20 19:38:46 +0300
committerShuah Khan <skhan@linuxfoundation.org>2025-02-20 20:38:14 +0300
commit80d3175a7e073fad281bdc5c7e881f46ab806d97 (patch)
tree6d2dba75769189df5e280a9f95f4fe66e6ceb639 /tools/perf/scripts/python/libxed.py
parent208baa3ec9043a664d9acfb8174b332e6b17fb69 (diff)
downloadlinux-80d3175a7e073fad281bdc5c7e881f46ab806d97.tar.xz
cpupower: monitor: Exit with error status if execvp() fail
In the case that we give a invalid command to idle_monitor for monitoring, the execvp() will fail and thus go to the next line. As a result, we'll see two differnt monitoring output. For example, running `cpupower monitor -i 5 invalidcmd` which `invalidcmd` is not executable. Link: https://lore.kernel.org/r/20250220163846.2765-1-s921975628@gmail.com Signed-off-by: Yiwei Lin <s921975628@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions