#include "ust_tests_hello.h"
#include <lttng/ust-events.h>
-#include <lttng/ringbuffer-context.h>
+#include <lttng/ust-ringbuffer-context.h>
/* Internal header. */
#include <common/ust-context-provider.h>
void inthandler(int sig __attribute__((unused)))
{
printf("in SIGUSR1 handler\n");
- tracepoint(ust_tests_hello, tptest_sighandler);
+ lttng_ust_tracepoint(ust_tests_hello, tptest_sighandler);
}
static
fprintf(stderr, "Tracing... ");
for (i = 0; i < 1000000; i++) {
netint = htonl(i);
- tracepoint(ust_tests_hello, tptest, i, netint, values,
+ lttng_ust_tracepoint(ust_tests_hello, tptest, i, netint, values,
text, strlen(text), dbl, flt, mybool);
test_inc_count();
//usleep(100000);