Remove has_strcpy check following probe provider version bump
[lttng-ust.git] / include / lttng / ust-events.h
index fd27396fb62f1a703c5854622763fd20e890053c..938e12bcd248cdd31f9352d42c88de30fed34b46 100644 (file)
@@ -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;
This page took 0.022735 seconds and 4 git commands to generate.