X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-tracer-core.h;h=bfead6e53c364c9389df2e3ab9cd26c7c00e467a;hb=096c06e5c6f0a44f261b53c473c223ba88b686fd;hp=04ba642e917065512f8f724d29f78459cbc398b5;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-tracer-core.h b/src/lib/lttng-ust/lttng-tracer-core.h index 04ba642e..bfead6e5 100644 --- a/src/lib/lttng-ust/lttng-tracer-core.h +++ b/src/lib/lttng-ust/lttng-tracer-core.h @@ -13,21 +13,13 @@ #include #include #include -#include +#include #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; -struct lttng_ust_lib_ring_buffer_ctx; +struct lttng_ust_ring_buffer_ctx; struct lttng_ust_ctx_value; struct lttng_ust_event_recorder; struct lttng_ust_event_notifier; @@ -81,13 +73,10 @@ char* lttng_ust_sockinfo_get_procname(void *owner) void lttng_ust_sockinfo_session_enabled(void *owner) __attribute__((visibility("hidden"))); -ssize_t lttng_ust_read(int fd, void *buf, size_t len) - __attribute__((visibility("hidden"))); - size_t lttng_ust_dummy_get_size(void *priv, size_t offset) __attribute__((visibility("hidden"))); -void lttng_ust_dummy_record(void *priv, struct lttng_ust_lib_ring_buffer_ctx *ctx, +void lttng_ust_dummy_record(void *priv, struct lttng_ust_ring_buffer_ctx *ctx, struct lttng_ust_channel_buffer *chan) __attribute__((visibility("hidden"))); @@ -95,7 +84,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")));