Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * SPDX-License-Identifier: MIT | |
3 | * | |
4 | * Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
5 | */ | |
6 | ||
7 | #include <lttng/tracepoint.h> | |
8 | #include <stdarg.h> | |
9 | ||
10 | TRACEPOINT_EVENT(lttng_ust_tracef, event, | |
11 | TP_ARGS(const char *, msg, unsigned int, len, void *, ip), | |
12 | TP_FIELDS( | |
13 | ctf_sequence_text(char, msg, msg, unsigned int, len) | |
14 | ctf_unused(ip) | |
15 | ) | |
16 | ) | |
17 | TRACEPOINT_LOGLEVEL(lttng_ust_tracef, event, TRACE_DEBUG) |