tests/hello.cxx: add enumeration field
[lttng-ust.git] / tests / hello.cxx / hello.cpp
index da33407b0db671aeb3e37bf5c332af4b074c543a..9af2bf8c8b6beb82d94632f118ea74c693210852 100644 (file)
@@ -27,6 +27,7 @@
 #include <signal.h>
 #include <string.h>
 #include <arpa/inet.h>
+#include <stdlib.h>
 
 #define TRACEPOINT_DEFINE
 #include "ust_tests_hello.h"
@@ -86,7 +87,7 @@ int main(int argc, char **argv)
        for (i = 0; i < 1000000; i++) {
                netint = htonl(i);
                tracepoint(ust_tests_hello, tptest, i, netint, values,
-                          text, strlen(text), dbl, flt);
+                          text, strlen(text), dbl, flt, 15);
                //usleep(100000);
        }
        fprintf(stderr, " done.\n");
This page took 0.023089 seconds and 4 git commands to generate.