aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorDavid Arcari <darcari@redhat.com>2024-05-20 14:57:49 -0400
committerLen Brown <len.brown@intel.com>2024-06-27 23:53:27 -0400
commitebb5b260af67c677700cd51be6845c2cab3edfbd (patch)
treeefd222494c9610829249da0fae8fb7b7ecb24149 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentf2661062f16b2de5d7b6a5c42a9a5c96326b8454 (diff)
tools/power turbostat: option '-n' is ambiguous
In some cases specifying the '-n' command line argument will cause turbostat to fail. For instance 'turbostat -n 1' works fine; however, 'turbostat -n 1 -d' will fail. This is the result of the first call to getopt_long_only() where "MP" is specified as the optstring. This can be easily fixed by changing the optstring from "MP" to "MPn:" to remove ambiguity between the arguments. tools/power turbostat: option '-n' is ambiguous; possibilities: '-num_iterations' '-no-msr' '-no-perf' Fixes: a0e86c90b83c ("tools/power turbostat: Add --no-perf option") Signed-off-by: David Arcari <darcari@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions