Skip to content

Commit 7820b07

Browse files
dledfordtorvalds
authored andcommitted
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>
1 parent 113289c commit 7820b07

File tree

3 files changed

+746
-1
lines changed

3 files changed

+746
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mq_open_tests
2+
mq_perf_tests
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
all:
22
gcc -O2 -lrt mq_open_tests.c -o mq_open_tests
3+
gcc -O2 -lrt -lpthread -lpopt -o mq_perf_tests mq_perf_tests.c
34

45
run_tests:
56
./mq_open_tests /test1
7+
./mq_perf_tests
68

79
clean:
8-
rm -f mq_open_tests
10+
rm -f mq_open_tests mq_perf_tests

0 commit comments

Comments
 (0)