X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=938e12bcd248cdd31f9352d42c88de30fed34b46;hp=4b31c0e1a9d7ee9bff03208ebdc121f79d3a89e0;hb=f9ec4a97118c6ba6001af5a85d63512e0fc441a1;hpb=04f0b55a6bafe380a1b9ce93267d5a7da963cbf9 diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 4b31c0e1..938e12bc 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -503,6 +503,13 @@ struct lttng_channel_ops { void (*channel_destroy)(struct lttng_channel *chan); union { void *_deprecated1; + /* + * has_strcpy is needed by probe providers version 1.0 to + * dynamically detect whether the LTTng-UST tracepoint + * provider ABI implements event_strcpy. Starting from + * probe providers version 2.0, the check is not needed, + * but backward compatibility is provided for older versions. + */ unsigned long has_strcpy:1; /* ABI has strcpy */ } u; void *_deprecated2;