fix: all functions have declarations (-Wmissing-prototypes -Wold-style-definition)
[lttng-ust.git] / liblttng-ust / lttng-context-procname.c
index 00a79355a577ce234b4ec1d5c9a11b9f576cdd88..a65585deb981656d764303f339325c9df503412c 100644 (file)
@@ -14,6 +14,7 @@
 #include <urcu/tls-compat.h>
 #include <assert.h>
 #include "compat.h"
+#include "lttng-tracer-core.h"
 
 #include "context-internal.h"
 
@@ -78,7 +79,7 @@ void procname_record(struct lttng_ust_ctx_field *field,
        char *procname;
 
        procname = wrapper_getprocname();
-       chan->ops->event_write(ctx, procname, LTTNG_UST_ABI_PROCNAME_LEN);
+       chan->ops->event_write(ctx, procname, LTTNG_UST_ABI_PROCNAME_LEN, 1);
 }
 
 static
This page took 0.039317 seconds and 4 git commands to generate.