aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/sync/synctest.h
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2016-10-19 09:49:54 -0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-01 18:13:32 -0700
commit499a1d11f2653483f87c3339c8c799bc259536e7 (patch)
tree20cea53276bcc310b60c5931573080813f723f91 /tools/testing/selftests/sync/synctest.h
parentselftest: sync: stress consumer/producer test (diff)
downloadlinux-dev-499a1d11f2653483f87c3339c8c799bc259536e7.tar.xz
linux-dev-499a1d11f2653483f87c3339c8c799bc259536e7.zip
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 '')
-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