X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=938e12bcd248cdd31f9352d42c88de30fed34b46;hb=f9ec4a97118c6ba6001af5a85d63512e0fc441a1;hp=fd27396fb62f1a703c5854622763fd20e890053c;hpb=8e6ad0c1caf5bc9c8caef55f190ab9df38b06ebe;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index fd27396f..938e12bc 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -56,7 +56,7 @@ extern "C" { * library, but the opposite is rejected: a newer tracepoint provider is * rejected by an older lttng-ust library. */ -#define LTTNG_UST_PROVIDER_MAJOR 1 +#define LTTNG_UST_PROVIDER_MAJOR 2 #define LTTNG_UST_PROVIDER_MINOR 0 struct lttng_channel; @@ -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;