X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=f1c913b66b639f5244bb0282e1b734282df85656;hp=ebcdd2b58e94ca83484b3b7fad4972f9d3e91b74;hb=045e5491d29048a9d888559cd91d6d6f304fc171;hpb=0a1459bbc48796c0891c53d9ce0fde62d91dc69a diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index ebcdd2b58..f1c913b66 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -172,7 +172,7 @@ struct lttng_channel_attr { * Channel information structure. For both kernel and user-space. */ struct lttng_channel { - char name[NAME_MAX]; + char name[LTTNG_SYMBOL_NAME_LEN]; uint32_t enabled; struct lttng_channel_attr attr; };