* 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;
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;