From: Michael <dev@michaeljones.de>
To: John Kacur <jkacur@redhat.com>,
rt-users <linux-rt-users@vger.kernel.org>,
Clark Williams <williams@redhat.com>
Subject: Re: [PATCH 5/6] cyclictest: Fix help for long options only
Date: Mon, 18 Aug 2014 22:26:07 +0200 [thread overview]
Message-ID: <53F2615F.3090007@michaeljones.de> (raw)
In-Reply-To: <1408033090-24866-6-git-send-email-jkacur@redhat.com>
Hi John,
I submitted an almost identical patch to this one a few weeks ago, but
haven't heard anything:
http://www.spinics.net/lists/linux-rt-users/msg12140.html
I thought I might follow-up with some more patches to bring the
comments/docs in sync with the code, but I didn't see anything happening
with my first submission, so I haven't bothered.
What to do? Can I resubmit mine to add the one change you made which I
didn't (--notrace)?
Michael
On 08/14/2014 06:18 PM, John Kacur wrote:
> At some point in the history of cyclictest, a number of short options
> were removed and changed to long only options. However the display_help
> was not updated to reflect this and indicates short options that
> no longer exist. Fix this. I also found a long option that wasn't listed
> at all and added that.
>
> Signed-off-by: John Kacur <jkacur@redhat.com>
> ---
> src/cyclictest/cyclictest.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
> index ad7890ffaa95..b45041e01f3a 100644
> --- a/src/cyclictest/cyclictest.c
> +++ b/src/cyclictest/cyclictest.c
> @@ -1009,7 +1009,7 @@ static void display_help(int error)
> "-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"
> - "-e --latency=PM_QOS write PM_QOS to /dev/cpu_dma_latency\n"
> + " --latency=PM_QOS write PM_QOS to /dev/cpu_dma_latency\n"
> "-E --event event tracing (used with -b)\n"
> "-f --ftrace function trace (when -b is active)\n"
> "-F --fifo=<path> create a named pipe at path and write stats to it\n"
> @@ -1023,13 +1023,14 @@ static void display_help(int error)
> "-m --mlockall lock current and future memory allocations\n"
> "-M --refresh_on_max delay updating the screen until a new max latency is hit\n"
> "-n --nanosleep use clock_nanosleep\n"
> + " --notrace suppress tracing\n"
> "-N --nsecs print results in ns instead of us (default us)\n"
> "-o RED --oscope=RED oscilloscope mode, reduce verbose output by RED\n"
> "-O TOPT --traceopt=TOPT trace option\n"
> "-p PRIO --prio=PRIO priority of highest prio thread\n"
> "-P --preemptoff Preempt off tracing (used with -b)\n"
> "-q --quiet print only a summary on exit\n"
> - "-Q --priospread spread priority levels starting at specified value\n"
> + " --priospread spread priority levels starting at specified value\n"
> "-r --relative use relative timer instead of absolute\n"
> "-R --resolution check clock resolution, calling clock_gettime() many\n"
> " times. list of clock_gettime() values will be\n"
> @@ -1052,8 +1053,8 @@ static void display_help(int error)
> " format: n:c:v n=tasknum c=count v=value in us\n"
> "-w --wakeup task wakeup tracing (used with -b)\n"
> "-W --wakeuprt rt task wakeup tracing (used with -b)\n"
> - "-X --dbg_cyclictest print info useful for debugging cyclictest\n"
> - "-y POLI --policy=POLI policy of realtime thread, POLI may be fifo(default) or rr\n"
> + " --dbg_cyclictest print info useful for debugging cyclictest\n"
> + " --policy=POLI policy of realtime thread, POLI may be fifo(default) or rr\n"
> " format: --policy=fifo(default) or --policy=rr\n",
> tracers
> );
>
next prev parent reply other threads:[~2014-08-18 20:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 16:18 [PATCH 0/6] Miscellaneous cyclictest patches John Kacur
2014-08-14 16:18 ` [PATCH 1/6] lib: Rework err_msg_n to output strerror after message John Kacur
2014-08-14 16:18 ` [PATCH 2/6] rt_numa.h: Suppress discards 'const' qualifier warning John Kacur
2014-08-14 16:18 ` [PATCH 3/6] cyclictest: Always print an err message if write of 0 to cpu-dma_latency fails John Kacur
2014-08-14 16:18 ` [PATCH 4/6] cyclictest: Change the output from function sighand() to stderr John Kacur
2014-08-14 16:18 ` [PATCH 5/6] cyclictest: Fix help for long options only John Kacur
2014-08-18 20:26 ` Michael [this message]
2014-08-18 20:45 ` John Kacur
2014-08-14 16:18 ` [PATCH 6/6] cyclictest: Add long option --laptop to preserve battery power John Kacur
2014-08-14 16:38 ` John Kacur
2014-08-18 20:29 ` Michael
2014-08-18 20:46 ` John Kacur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53F2615F.3090007@michaeljones.de \
--to=dev@michaeljones.de \
--cc=jkacur@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).