#include <lttng/bug.h>
#include <lttng/ringbuffer-config.h>
#include <usterr-signal-safe.h>
+#include <helper.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_session;
struct lttng_channel;
void lttng_fixup_event_tls(void);
void lttng_fixup_vtid_tls(void);
void lttng_fixup_procname_tls(void);
+void lttng_fixup_cgroup_ns_tls(void);
+void lttng_fixup_ipc_ns_tls(void);
+void lttng_fixup_net_ns_tls(void);
+void lttng_fixup_uts_ns_tls(void);
const char *lttng_ust_obj_get_name(int id);
int lttng_get_notify_socket(void *owner);
+LTTNG_HIDDEN
+char* lttng_ust_sockinfo_get_procname(void *owner);
+
void lttng_ust_sockinfo_session_enabled(void *owner);
void lttng_ust_malloc_wrapper_init(void);