linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gary S. Robertson" <gary.robertson@linaro.org>
To: clark.williams@gmail.com, linux-rt-users@vger.kernel.org
Cc: "Gary S. Robertson" <gary.robertson@linaro.org>
Subject: [PATCH 2/2] Don't offer --numa option when unavailable
Date: Tue, 25 Mar 2014 18:05:32 -0500	[thread overview]
Message-ID: <1395788732-7311-3-git-send-email-gary.robertson@linaro.org> (raw)
In-Reply-To: <1395788732-7311-1-git-send-email-gary.robertson@linaro.org>

From: "Gary S. Robertson" <gary.robertson@linaro.org>

Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
---
 src/cyclictest/cyclictest.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 686a635..4532b19 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1032,8 +1032,10 @@ static void display_help(int error)
 	       "-T TRACE --tracer=TRACER   set tracing function\n"
 	       "    configured tracers: %s\n"
 	       "-u       --unbuffered      force unbuffered output for live processing\n"
+#ifdef NUMA
 	       "-U       --numa            Standard NUMA testing (similar to SMP option)\n"
 	       "                           thread data structures allocated from local node\n"
+#endif	/* NUMA */
 	       "-v       --verbose         output values on stdout for statistics\n"
 	       "                           format: n:c:v n=tasknum c=count v=value in us\n"
 	       "-w       --wakeup          task wakeup tracing (used with -b)\n"
-- 
1.7.9.5


      parent reply	other threads:[~2014-03-25 23:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 23:05 [PATCH 0/2] cyclictest: Restore CPU affinity for non-NUMA builds Gary S. Robertson
2014-03-25 23:05 ` [PATCH 1/2] Restore CPU affinity function " Gary S. Robertson
2014-03-25 23:05 ` Gary S. Robertson [this message]

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=1395788732-7311-3-git-send-email-gary.robertson@linaro.org \
    --to=gary.robertson@linaro.org \
    --cc=clark.williams@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    /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).