diff options
author | Gary S. Robertson <gary.robertson@linaro.org> | 2014-03-25 18:05:32 -0500 |
---|---|---|
committer | Clark Williams <clark.williams@gmail.com> | 2014-03-28 09:23:59 -0500 |
commit | 9bdd51a808b3c3d05c33eef9d7b3536099fa1170 (patch) | |
tree | bbf31418c46d64a5ec574aee3a736b2414de6075 | |
parent | 618427fab929656e062dbc10858a32722a524c88 (diff) | |
download | rt-tests-9bdd51a808b3c3d05c33eef9d7b3536099fa1170.tar.gz |
cyclictest: Don't offer --numa option when unavailable
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | src/cyclictest/cyclictest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index c3fa60f..f305c3d 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1034,8 +1034,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 "-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" @@ -1983,7 +1985,7 @@ int main(int argc, char **argv) case AFFINITY_UNSPECIFIED: par->cpu = -1; break; case AFFINITY_SPECIFIED: par->cpu = cpu_for_thread(i, max_cpus); - if (verbose) + //if (verbose) printf("Thread %d using cpu %d.\n", i, par->cpu); break; |