cyclictest - duplicate explanation of cyclictest option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Clark,

This is trivial contents about option of cyclictest.

Cyclictest utiltiy (ver 0.34) display the information with duplicate
"-h" options,
when a user run "cyclictest --help" command.
User will confuse  exact understanding because of duplicate
description of -h option.
How about you remove "-h H_MAX  *****" line?
Thanks reading.

Signed-off-by: GeunSik Lim <leemgs1@xxxxxxxxx>

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index f878217..cedc36f 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -688,7 +688,8 @@ static void display_help(void)
               "-d DIST  --distance=DIST   distance of thread
intervals in us default=500\n"
               "-E       --event           event tracing (used with -b)\n"
               "-f       --ftrace          function trace (when -b is active)\n"
-              "-h H_MAX                   latency histogram size in
us default 0 (off)\n"
+              "-h       --histogram=US    dump a latency histogram to
stdout after the run\n"
+              "                           US is the max time to be be
tracked in microseconds\n"
               "-i INTV  --interval=INTV   base interval of thread in
us default=1000\n"
               "-I       --irqsoff         Irqsoff tracing (used with -b)\n"
               "-l LOOPS --loops=LOOPS     number of loops:
default=0(endless)\n"
@@ -710,8 +711,6 @@ static void display_help(void)
               "-D       --duration=t      specify a length for the test run\n"
               "                           default is in seconds, but
'm', 'h', or 'd' maybe added\n"
               "                           to modify value to minutes,
hours or days\n"
-              "-h       --histogram=US    dump a latency histogram to
stdout after the run\n"
-              "                           US is the max time to be be
tracked in microseconds\n"
                );
        exit(0);
 }


-- 
Regards,
GeunSik Lim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Attachment: remove-duplicate-h-option.patch
Description: Binary data


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux