summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sync/synctest.h
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2016-10-19 15:49:54 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-02 04:13:32 +0300
commit499a1d11f2653483f87c3339c8c799bc259536e7 (patch)
tree20cea53276bcc310b60c5931573080813f723f91 /tools/testing/selftests/sync/synctest.h
parentc52dee5025d904896198b7090cf7df80a4028363 (diff)
downloadlinux-499a1d11f2653483f87c3339c8c799bc259536e7.tar.xz
selftest: sync: stress test for merges
This test is based on the libsync test suite from Android. This commit includes a test to stress merge operations. Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/sync/synctest.h')
-rw-r--r--tools/testing/selftests/sync/synctest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h
index a94b6220b8e6..4e0e59f6fcf3 100644
--- a/tools/testing/selftests/sync/synctest.h
+++ b/tools/testing/selftests/sync/synctest.h
@@ -60,4 +60,7 @@ int test_stress_two_threads_shared_timeline(void);
/* Stress test - consumer */
int test_consumer_stress_multi_producer_single_consumer(void);
+/* Stress test - merging */
+int test_merge_stress_random_merge(void);
+
#endif