notification_send callback takes const event_notifier parameter
[lttng-ust.git] / src / lib / lttng-ust / lttng-tracer-core.h
index 04ba642e917065512f8f724d29f78459cbc398b5..4c93428a87b95902119614b9777af83ea8f8c457 100644 (file)
 #include <lttng/ringbuffer-context.h>
 #include "common/logging.h"
 
-/*
- * The longuest possible namespace proc path is with the cgroup ns
- * and the maximum theoretical linux pid of 536870912 :
- *
- *  /proc/self/task/536870912/ns/cgroup
- */
-#define LTTNG_PROC_NS_PATH_MAX 40
-
 struct lttng_ust_session;
 struct lttng_ust_channel_buffer;
 struct lttng_ust_ctx_field;
@@ -95,7 +87,7 @@ void lttng_ust_dummy_get_value(void *priv, struct lttng_ust_ctx_value *value)
        __attribute__((visibility("hidden")));
 
 void lttng_event_notifier_notification_send(
-               struct lttng_ust_event_notifier *event_notifier,
+               const struct lttng_ust_event_notifier *event_notifier,
                const char *stack_data,
                struct lttng_ust_notification_ctx *notif_ctx)
        __attribute__((visibility("hidden")));
This page took 0.024139 seconds and 4 git commands to generate.