#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
+#include <string.h>
#include "ust_tests_hello.h"
{
int i;
long values[] = { 1, 2, 3 };
+ char text[10] = "test";
init_int_handler();
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;