lttng/ust-bug.h \
lttng/ust-error.h \
lttng/tracef.h \
- lttng/lttng-ust-tracef.h \
+ lttng/tp/lttng-ust-tracef.h \
lttng/tracelog.h \
- lttng/lttng-ust-tracelog.h \
+ lttng/tp/lttng-ust-tracelog.h \
lttng/ust-clock.h \
lttng/ust-getcpu.h \
lttng/ust-libc-wrapper.h \
+++ /dev/null
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
-
-#include <lttng/tracepoint.h>
-#include <stdarg.h>
-
-TRACEPOINT_EVENT(lttng_ust_tracef, event,
- TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
- TP_FIELDS(
- ctf_sequence_text(char, msg, msg, unsigned int, len)
- )
-)
-TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, TRACE_DEBUG)
+++ /dev/null
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2011-2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
-
-#include <lttng/tracepoint.h>
-#include <stdarg.h>
-
-TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass,
- TP_ARGS(const char *, file, int, line, const char *, func,
- const char *, msg, unsigned int, len, void *, ip),
- TP_FIELDS(
- ctf_integer(int, line, line)
- ctf_string(file, file)
- ctf_string(func, func)
- ctf_sequence_text(char, msg, msg, unsigned int, len)
- )
-)
-
-#define TP_TRACELOG_TEMPLATE(_level_enum) \
- TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
- TP_ARGS(const char *, file, int, line, const char *, func, \
- const char *, msg, unsigned int, len, void *, ip) \
- ) \
- TRACEPOINT_LOGLEVEL(lttng_ust_tracelog, _level_enum, _level_enum)
-
-TP_TRACELOG_TEMPLATE(TRACE_EMERG)
-TP_TRACELOG_TEMPLATE(TRACE_ALERT)
-TP_TRACELOG_TEMPLATE(TRACE_CRIT)
-TP_TRACELOG_TEMPLATE(TRACE_ERR)
-TP_TRACELOG_TEMPLATE(TRACE_WARNING)
-TP_TRACELOG_TEMPLATE(TRACE_NOTICE)
-TP_TRACELOG_TEMPLATE(TRACE_INFO)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_SYSTEM)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_PROGRAM)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_PROCESS)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_MODULE)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_UNIT)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_FUNCTION)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG_LINE)
-TP_TRACELOG_TEMPLATE(TRACE_DEBUG)
--- /dev/null
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
+#include <lttng/tracepoint.h>
+#include <stdarg.h>
+
+TRACEPOINT_EVENT(lttng_ust_tracef, event,
+ TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
+ TP_FIELDS(
+ ctf_sequence_text(char, msg, msg, unsigned int, len)
+ )
+)
+TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, TRACE_DEBUG)
--- /dev/null
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2011-2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
+#include <lttng/tracepoint.h>
+#include <stdarg.h>
+
+TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass,
+ TP_ARGS(const char *, file, int, line, const char *, func,
+ const char *, msg, unsigned int, len, void *, ip),
+ TP_FIELDS(
+ ctf_integer(int, line, line)
+ ctf_string(file, file)
+ ctf_string(func, func)
+ ctf_sequence_text(char, msg, msg, unsigned int, len)
+ )
+)
+
+#define TP_TRACELOG_TEMPLATE(_level_enum) \
+ TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
+ TP_ARGS(const char *, file, int, line, const char *, func, \
+ const char *, msg, unsigned int, len, void *, ip) \
+ ) \
+ TRACEPOINT_LOGLEVEL(lttng_ust_tracelog, _level_enum, _level_enum)
+
+TP_TRACELOG_TEMPLATE(TRACE_EMERG)
+TP_TRACELOG_TEMPLATE(TRACE_ALERT)
+TP_TRACELOG_TEMPLATE(TRACE_CRIT)
+TP_TRACELOG_TEMPLATE(TRACE_ERR)
+TP_TRACELOG_TEMPLATE(TRACE_WARNING)
+TP_TRACELOG_TEMPLATE(TRACE_NOTICE)
+TP_TRACELOG_TEMPLATE(TRACE_INFO)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_SYSTEM)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_PROGRAM)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_PROCESS)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_MODULE)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_UNIT)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_FUNCTION)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG_LINE)
+TP_TRACELOG_TEMPLATE(TRACE_DEBUG)
#ifndef _LTTNG_UST_TRACEF_H
#define _LTTNG_UST_TRACEF_H
-#include <lttng/lttng-ust-tracef.h>
+#include <lttng/tp/lttng-ust-tracef.h>
#ifdef __cplusplus
extern "C" {
#ifndef _LTTNG_UST_TRACELOG_H
#define _LTTNG_UST_TRACELOG_H
-#include <lttng/lttng-ust-tracelog.h>
+#include <lttng/tp/lttng-ust-tracelog.h>
#ifdef __cplusplus
extern "C" {
#if !defined(_TRACEPOINT_LTTNG_UST_TRACEF_PROVIDER_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_LTTNG_UST_TRACEF_PROVIDER_H
-#include <lttng/lttng-ust-tracef.h>
+#include <lttng/tp/lttng-ust-tracef.h>
#endif /* _TRACEPOINT_LTTNG_UST_TRACEF_PROVIDER_H */
#define TP_IP_PARAM ip /* IP context received as parameter */
#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng-ust-tracef.h"
+#define TRACEPOINT_INCLUDE "./tp/lttng-ust-tracef.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
#if !defined(_TRACEPOINT_LTTNG_UST_TRACELOG_PROVIDER_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_LTTNG_UST_TRACELOG_PROVIDER_H
-#include <lttng/lttng-ust-tracelog.h>
+#include <lttng/tp/lttng-ust-tracelog.h>
#endif /* _TRACEPOINT_LTTNG_UST_TRACEF_PROVIDER_H */
#define TP_IP_PARAM ip /* IP context received as parameter */
#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./lttng-ust-tracelog.h"
+#define TRACEPOINT_INCLUDE "./tp/lttng-ust-tracelog.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>