X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust-tracepoint%2Ftracepoint.c;h=e43c1aeb312967aefaec9e52757dad447fb7034e;hb=81b16412749579b79a4d829ff87e170d0e1ebd0d;hp=03e1e0bba807a27219de30a364ff7f3af911f81a;hpb=0b4b88119eced28c0cd4fcec773f76525103ac3f;p=lttng-ust.git diff --git a/src/lib/lttng-ust-tracepoint/tracepoint.c b/src/lib/lttng-ust-tracepoint/tracepoint.c index 03e1e0bb..e43c1aeb 100644 --- a/src/lib/lttng-ust-tracepoint/tracepoint.c +++ b/src/lib/lttng-ust-tracepoint/tracepoint.c @@ -130,6 +130,10 @@ struct callsite_entry { bool tp_entry_callsite_ref; /* Has a tp_entry took a ref on this callsite */ }; +lttng_ust_static_assert(LTTNG_UST_TRACEPOINT_NAME_LEN_MAX == LTTNG_UST_ABI_SYM_NAME_LEN, + "Tracepoint name max length mismatch between UST ABI and tracepoint API", + Tracepoint_name_max_length_mismatch); + /* coverity[+alloc] */ static void *allocate_probes(int count) {