summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mqueue/Makefile
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2012-05-31 16:26:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-31 17:49:31 -0700
commit7820b0715b6fb1378fab41b27fb7aa3950852cb7 (patch)
treef5720d49643717253c6c427fab45300ba4818bdf /tools/testing/selftests/mqueue/Makefile
parent113289cc086f80f28acd06f160a7c6423cdd4191 (diff)
tools/selftests: add mq_perf_tests
Add the mq_perf_tests tool I used when creating my mq performance patch. Also add a local .gitignore to keep the binaries from showing up in git status output. [akpm@linux-foundation.org: checkpatch fixes] Signed-off-by: Doug Ledford <dledford@redhat.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/mqueue/Makefile')
-rw-r--r--tools/testing/selftests/mqueue/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile
index bd74142a173f..54c0aad2b47c 100644
--- a/tools/testing/selftests/mqueue/Makefile
+++ b/tools/testing/selftests/mqueue/Makefile
@@ -1,8 +1,10 @@
all:
gcc -O2 -lrt mq_open_tests.c -o mq_open_tests
+ gcc -O2 -lrt -lpthread -lpopt -o mq_perf_tests mq_perf_tests.c
run_tests:
./mq_open_tests /test1
+ ./mq_perf_tests
clean:
- rm -f mq_open_tests
+ rm -f mq_open_tests mq_perf_tests