From: Mathieu Desnoyers Date: Thu, 25 Aug 2011 20:54:53 +0000 (-0400) Subject: Stress-test buffer in hello.c X-Git-Tag: v1.9.1~253 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c95f3a3ac6e7379f8c969492c18976fabb08894e;p=lttng-ust.git Stress-test buffer in hello.c Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/hello/hello.c b/tests/hello/hello.c index e8eb78ef..72a30d09 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -76,10 +76,11 @@ int main(int argc, char **argv) sleep(1); - for (i = 0; i < 50; i++) { + //for (i = 0; i < 50; i++) { + for (i = 0; i < 1000000; i++) { tracepoint(ust_tests_hello_tptest, i, values, text, strlen(text), dbl, flt); - usleep(100000); + //usleep(100000); } return 0; }