diff options
author | Clark Williams <williams@redhat.com> | 2010-01-26 12:05:43 -0600 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-01-26 12:24:54 -0600 |
commit | 20ece7f8a1d7c03e56fe739c243dfb9a0f28649b (patch) | |
tree | 00cd1ddd206447be0b717bd267225b9e079cbfa0 | |
parent | 1bb1e652650a917d868756b8b6cecd4f2997082c (diff) | |
download | rt-tests-20ece7f8a1d7c03e56fe739c243dfb9a0f28649b.tar.gz |
fixed numa compile and added numa option to usage printout
Added NUMA=1 to specfile build command line to enable NUMA
options. Added description of --numa option to usage output.
Signed-off-by: Clark Williams <williams@redhat.com>
-rw-r--r-- | rt-tests.spec-in | 2 | ||||
-rw-r--r-- | src/cyclictest/cyclictest.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/rt-tests.spec-in b/rt-tests.spec-in index b888b87..8a53035 100644 --- a/rt-tests.spec-in +++ b/rt-tests.spec-in @@ -20,7 +20,7 @@ of priority-inheritance mutexes. %setup -qn rt-tests %build -make +make NUMA=1 %install rm -rf $RPM_BUILD_ROOT diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 8a4d6e0..dc86b49 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -778,7 +778,9 @@ static void display_help(int error) "-y POLI --policy=POLI policy of realtime thread (1:FIFO, 2:RR)\n" " format: --policy=fifo(default) or --policy=rr\n" "-S --smp Standard SMP testing (equals -a -t -n -m -d0)\n" - " same priority on all threads.\n", + " same priority on all threads.\n" + "-U --numa Standard NUMA testing (similar to SMP option)\n" + " thread data structures allocated from local node\n", tracers ); if (error) |