port: fix pthread_setname_np integration
[lttng-ust.git] / liblttng-ust / lttng-ust-statedump-provider.h
index b0c43cf76f05bfd9ed077485ee5402d6b3c5f3e2..ea8d5ed3702b1c21045d4feea88e3a8ed6316116 100644 (file)
@@ -31,6 +31,7 @@ extern "C" {
  * SOFTWARE.
  */
 
+#include <stddef.h>
 #include <stdint.h>
 #include <unistd.h>
 #include <lttng/ust-events.h>
@@ -98,7 +99,7 @@ TRACEPOINT_EVENT(lttng_ust_statedump, procname,
                char *, name
        ),
        TP_FIELDS(
-               ctf_array_text(char, procname, name, LTTNG_UST_PROCNAME_LEN)
+               ctf_array_text(char, procname, name, LTTNG_UST_ABI_PROCNAME_LEN)
        )
 )
 
This page took 0.023437 seconds and 4 git commands to generate.