#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST
-#include <ust/lttng-ust-abi.h>
+#include <lttng/ust-abi.h>
/*
* Data structure for the commands sent from sessiond to UST.
#include <sys/types.h>
#include <unistd.h>
-#include <ust/lttng-ust-ctl.h>
#include <lttng-sessiond-comm.h>
#include <lttng/lttng-ustconsumer.h>
+#include <lttng/ust-ctl.h>
#include <lttngerr.h>
extern struct lttng_consumer_global_data consumer_data;
#include <lttng/lttng.h>
#include <lttng-sessiond-comm.h>
#include <lttngerr.h>
-#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST
-#include <ust/lttng-ust-ctl.h>
-#include <ust/lttng-ust-abi.h>
-#else
-#include "lttng-ust-ctl.h"
-#include "lttng-ust-abi.h"
-#endif
#include "channel.h"
#include "hashtable.h"
#include <lttng-sessiond-comm.h>
#include <lttngerr.h>
-#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST
-#include <ust/lttng-ust-ctl.h>
-#include <ust/lttng-ust-abi.h>
-#else
-#include "lttng-ust-ctl.h"
-#include "lttng-ust-abi.h"
-#endif
-
#include "context.h"
#include "hashtable.h"
#include "kernel-ctl.h"
#define _LTT_CONTEXT_H
#include <lttng/lttng.h>
-#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST
-#include <ust/lttng-ust-abi.h>
-#else
-#include "lttng-ust-abi.h"
-#endif
-
#include "trace-kernel.h"
#include "trace-ust.h"
+#include "ust-ctl.h"
int context_kernel_add(struct ltt_kernel_session *ksession,
struct lttng_event_context *ctx, char *event_name, char *channel_name);
#include <lttng-sessiond-comm.h>
#include <lttngerr.h>
-#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST
-#include <ust/lttng-ust-ctl.h>
-#else
-#include "lttng-ust-ctl.h"
-#endif
-
#include "channel.h"
#include "event.h"
#include "hashtable.h"
#include "kernel-ctl.h"
+#include "ust-ctl.h"
/*
* Setup a lttng_event used to enable *all* syscall tracing.
#define _LTTNG_UST_ABI_H
/*
- * lttng-ust-abi.h
+ * lttng/ust-abi.h
*
* Copyright 2010-2011 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
#define LTTNG_UST_ROOT_HANDLE 0
-struct obj;
+struct lttng_ust_obj;
-struct objd_ops {
+struct lttng_ust_objd_ops {
long (*cmd)(int objd, unsigned int cmd, unsigned long arg);
int (*release)(int objd);
};
/* Create root handle. Always ID 0. */
int lttng_abi_create_root_handle(void);
-const struct objd_ops *objd_ops(int id);
-int objd_unref(int id);
+const struct lttng_ust_objd_ops *objd_ops(int id);
+int lttng_ust_objd_unref(int id);
void lttng_ust_abi_exit(void);
-void ltt_events_exit(void);
+void lttng_ust_events_exit(void);
#endif /* _LTTNG_UST_ABI_H */
#ifndef _LTTNG_UST_CTL_H
#define _LTTNG_UST_CTL_H
-#include <ust/lttng-ust-abi.h>
+#include "lttng-ust-abi.h"
int ustctl_register_done(int sock);
int ustctl_create_session(int sock);
* UST ABI.
*/
#ifdef CONFIG_LTTNG_TOOLS_HAVE_UST
-#include <ust/lttng-ust-ctl.h>
-#include <ust/lttng-ust-abi.h>
+#include <lttng/ust-ctl.h>
+#include <lttng/ust-abi.h>
#else
#include "lttng-ust-ctl.h"
#include "lttng-ust-abi.h"