lttng/ust-ctl.h \
lttng/version.h \
lttng/ust-abi.h \
- lttng/ust-comm.h \
lttng/ringbuffer-abi.h \
lttng/ust-tracer.h \
lttng/usterr-signal-safe.h \
noinst_HEADERS = \
usterr.h \
ust_snprintf.h \
+ lttng/ust-comm.h \
lttng/compat.h \
lttng/marker-internal.h \
lttng/tracepoint-internal.h \
#define TP_PARAMS(args...) args
#define TP_PROTO(args...) args
-#define TP_ARGS(args...) args
+#define TP_VARS(args...) args
#define __CHECK_TRACE(provider, name, proto, args) \
do { \
if (caa_unlikely(__tracepoint_##provider##___##name.state)) \
__DO_TRACE(&__tracepoint_##provider##___##name, \
- TP_PROTO(proto), TP_ARGS(args)); \
+ TP_PROTO(proto), TP_VARS(args)); \
} while (0)
/*
static inline void __trace_##provider##___##name(proto) \
{ \
__CHECK_TRACE(provider, name, TP_PROTO(data_proto), \
- TP_ARGS(data_args)); \
+ TP_VARS(data_args)); \
} \
static inline int \
__register_trace_##provider##___##name(void (*probe)(data_proto), void *data) \
* TRACEPOINT_EVENT(< [com_company_]project[_component] >, < event >,
* TP_PROTO(int arg0, void *arg1, char *string, size_t strlen,
* long *arg4, size_t arg4_len),
- * TP_ARGS(arg0, arg1, string, strlen, arg4, arg4_len),
+ * TP_VARS(arg0, arg1, string, strlen, arg4, arg4_len),
* TP_FIELDS(
*
* * Integer, printed in base 10 *
* * TP_PROTO1/TP_PROTO2/TP_PROTO3 ugliness.)
* *
*
- * TP_ARGS(rq, prev, next),
+ * TP_VARS(rq, prev, next),
*
* *
* * Fast binary tracing: define the trace record via
* Julien Desfossez <julien.desfossez@polymtl.ca>
* Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; only version 2
- * of the License.
- *
- * This program is distributed in the hope that it will be useful,
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; only
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
#undef TP_PROTO
#define TP_PROTO(args...)
-#undef TP_ARGS
-#define TP_ARGS(args...)
+#undef TP_VARS
+#define TP_VARS(args...)
#undef TP_FIELDS
#define TP_FIELDS(args...)
#undef TP_PROTO
#define TP_PROTO(args...) args
-#undef TP_ARGS
-#define TP_ARGS(args...) args
+#undef TP_VARS
+#define TP_VARS(args...) args
#undef TP_FIELDS
#define TP_FIELDS(args...) args
AM_CPPFLAGS = -I$(top_srcdir)/include
-lib_LTLIBRARIES = liblttng-ust-comm.la
+noinst_LTLIBRARIES = liblttng-ust-comm.la
liblttng_ust_comm_la_SOURCES = lttng-ust-comm.c
/*
* Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; only version 2
- * of the License.
- *
- * This program is distributed in the hope that it will be useful,
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; only
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define _GNU_SOURCE
TRACEPOINT_EVENT(lttng_ust_java_string,
TP_PROTO(const char *name, const char *args),
- TP_ARGS(name, args),
+ TP_VARS(name, args),
TP_FIELDS(
ctf_string(name, name)
ctf_string(args, args)
TP_PROTO(const char *str),
- TP_ARGS(str),
+ TP_VARS(str),
/*
* Not exactly a string: more a sequence of bytes (dynamic
TRACEPOINT_EVENT(ust_tests_fork, after_fork_child,
TP_PROTO(pid_t pid),
- TP_ARGS(pid),
+ TP_VARS(pid),
TP_FIELDS(
ctf_integer(pid_t, pid, pid)
)
TP_PROTO(int anint, int netint, long *values,
char *text, size_t textlen,
double doublearg, float floatarg),
- TP_ARGS(anint, netint, values, text, textlen,
+ TP_VARS(anint, netint, values, text, textlen,
doublearg, floatarg),
TP_FIELDS(
ctf_integer(int, intfield, anint)
TRACEPOINT_EVENT(hello_tptest,
TP_PROTO(int anint),
- TP_ARGS(anint),
+ TP_VARS(anint),
TP_FIELDS());
#endif /* _TRACE_TP_H */
TP_PROTO(unsigned long time, unsigned long count),
- TP_ARGS(time, count),
+ TP_VARS(time, count),
TP_FIELDS(
tp_field(unsigned long, time, time)
TRACEPOINT_EVENT(ust_event,
TP_PROTO(unsigned int v),
- TP_ARGS(v),
+ TP_VARS(v),
TP_FIELDS());
#endif /* _TRACE_TRACEPOINT_BENCHMARK_H */
#include <ust/tracepoint.h>
-DECLARE_TRACEPOINT(ust_event, TP_PROTO(unsigned int v), TP_ARGS(v));
-DECLARE_TRACEPOINT(ust_event2, TP_PROTO(unsigned int v), TP_ARGS(v));
+DECLARE_TRACEPOINT(ust_event, TP_PROTO(unsigned int v), TP_VARS(v));
+DECLARE_TRACEPOINT(ust_event2, TP_PROTO(unsigned int v), TP_VARS(v));
struct message {
char *payload;