mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 03:20:30 +01:00
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. [[email protected]: checkpatch fixes] Signed-off-by: Doug Ledford <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Manfred Spraul <[email protected]> Cc: Frederic Weisbecker <[email protected]> Acked-by: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
11 lines
212 B
Makefile
11 lines
212 B
Makefile
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 mq_perf_tests
|