diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-01-23 10:13:14 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2014-02-01 15:22:31 -0500 |
commit | f591c38b917fed99ac9cdfada84c3117ce4e0a1b (patch) | |
tree | 68d7c23530049972282a1bb1f49392b249672a91 /tools | |
parent | 5c56be9a25bad1af44d25a892a5de3dec03babc7 (diff) |
tools/power turbostat: remove unused command line option
The -s is not used, let's remove it, and update quick help accordingly.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index a83a37edc3da..e92c614b8ad4 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c | |||
@@ -45,7 +45,7 @@ unsigned int verbose; /* set with -v */ | |||
45 | unsigned int rapl_verbose; /* set with -R */ | 45 | unsigned int rapl_verbose; /* set with -R */ |
46 | unsigned int rapl_joules; /* set with -J */ | 46 | unsigned int rapl_joules; /* set with -J */ |
47 | unsigned int thermal_verbose; /* set with -T */ | 47 | unsigned int thermal_verbose; /* set with -T */ |
48 | unsigned int summary_only; /* set with -s */ | 48 | unsigned int summary_only; /* set with -S */ |
49 | unsigned int skip_c0; | 49 | unsigned int skip_c0; |
50 | unsigned int skip_c1; | 50 | unsigned int skip_c1; |
51 | unsigned int do_nhm_cstates; | 51 | unsigned int do_nhm_cstates; |
@@ -2088,7 +2088,7 @@ void check_cpuid() | |||
2088 | 2088 | ||
2089 | void usage() | 2089 | void usage() |
2090 | { | 2090 | { |
2091 | errx(1, "%s: [-v][-R][-T][-p|-P|-S][-c MSR# | -s]][-C MSR#][-m MSR#][-M MSR#][-i interval_sec | command ...]\n", | 2091 | errx(1, "%s: [-v][-R][-T][-p|-P|-S][-c MSR#][-C MSR#][-m MSR#][-M MSR#][-i interval_sec | command ...]\n", |
2092 | progname); | 2092 | progname); |
2093 | } | 2093 | } |
2094 | 2094 | ||
@@ -2377,7 +2377,7 @@ void cmdline(int argc, char **argv) | |||
2377 | 2377 | ||
2378 | progname = argv[0]; | 2378 | progname = argv[0]; |
2379 | 2379 | ||
2380 | while ((opt = getopt(argc, argv, "+pPSvi:sc:sC:m:M:RJT:")) != -1) { | 2380 | while ((opt = getopt(argc, argv, "+pPSvi:c:C:m:M:RJT:")) != -1) { |
2381 | switch (opt) { | 2381 | switch (opt) { |
2382 | case 'p': | 2382 | case 'p': |
2383 | show_core_only++; | 2383 | show_core_only++; |