X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fhello%2Fhello.c;fp=tests%2Fhello%2Fhello.c;h=0725163645e0e12757db364b9383d1590fb23607;hb=5dba59370c99b0d253f1bda39b12a0a076ef09c6;hp=469561cc5641462dbb2066ff245939b9a14bb9f9;hpb=775e7fd8bec57a12c254fcbf646b3d41e3a79d00;p=lttng-ust.git diff --git a/tests/hello/hello.c b/tests/hello/hello.c index 469561cc..07251636 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "ust_tests_hello.h" @@ -64,6 +65,7 @@ int main(int argc, char **argv) { int i; long values[] = { 1, 2, 3 }; + char text[10] = "test"; init_int_handler(); @@ -72,7 +74,8 @@ int main(int argc, char **argv) sleep(1); for (i = 0; i < 50; i++) { - tracepoint(ust_tests_hello_tptest, i, values); + tracepoint(ust_tests_hello_tptest, i, values, + text, strlen(text)); usleep(100000); } return 0;