Commit d44c40e
committed
tools/power turbostat: verify arguments to params --show and --hide
$ sudo turbostat --quiet --show junk
turbostat: Counter 'junk' can not be added.
Previously, invalid arguments to --show and --hide were silently ignored
Acked-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>1 parent 5d939fb commit d44c40e
1 file changed
+31
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2310 | 2310 | | |
2311 | 2311 | | |
2312 | 2312 | | |
| 2313 | + | |
| 2314 | + | |
2313 | 2315 | | |
2314 | 2316 | | |
2315 | 2317 | | |
| |||
10512 | 10514 | | |
10513 | 10515 | | |
10514 | 10516 | | |
10515 | | - | |
| 10517 | + | |
| 10518 | + | |
10516 | 10519 | | |
| 10520 | + | |
10517 | 10521 | | |
10518 | 10522 | | |
10519 | 10523 | | |
| |||
10522 | 10526 | | |
10523 | 10527 | | |
10524 | 10528 | | |
10525 | | - | |
| 10529 | + | |
| 10530 | + | |
10526 | 10531 | | |
| 10532 | + | |
10527 | 10533 | | |
10528 | 10534 | | |
10529 | 10535 | | |
| 10536 | + | |
| 10537 | + | |
| 10538 | + | |
| 10539 | + | |
| 10540 | + | |
| 10541 | + | |
| 10542 | + | |
| 10543 | + | |
| 10544 | + | |
| 10545 | + | |
| 10546 | + | |
| 10547 | + | |
| 10548 | + | |
| 10549 | + | |
| 10550 | + | |
| 10551 | + | |
| 10552 | + | |
| 10553 | + | |
| 10554 | + | |
| 10555 | + | |
| 10556 | + | |
10530 | 10557 | | |
10531 | 10558 | | |
10532 | 10559 | | |
| |||
10885 | 10912 | | |
10886 | 10913 | | |
10887 | 10914 | | |
| 10915 | + | |
| 10916 | + | |
10888 | 10917 | | |
10889 | 10918 | | |
10890 | 10919 | | |
| |||
0 commit comments