91f40854ffe6835bba1bec4b0d127c9cec1e88a6
2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2011-2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 #include <lttng/tracepoint.h>
10 LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog
, tlclass
,
11 LTTNG_UST_TP_ARGS(const char *, file
, int, line
, const char *, func
,
12 const char *, msg
, unsigned int, len
, void *, ip
),
14 ctf_integer(int, line
, line
)
15 ctf_string(file
, file
)
16 ctf_string(func
, func
)
17 ctf_sequence_text(char, msg
, msg
, unsigned int, len
)
22 #define TP_TRACELOG_TEMPLATE(_level_enum) \
23 LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
24 LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func, \
25 const char *, msg, unsigned int, len, void *, ip) \
27 TRACEPOINT_LOGLEVEL(lttng_ust_tracelog, _level_enum, _level_enum)
29 TP_TRACELOG_TEMPLATE(TRACE_EMERG
)
30 TP_TRACELOG_TEMPLATE(TRACE_ALERT
)
31 TP_TRACELOG_TEMPLATE(TRACE_CRIT
)
32 TP_TRACELOG_TEMPLATE(TRACE_ERR
)
33 TP_TRACELOG_TEMPLATE(TRACE_WARNING
)
34 TP_TRACELOG_TEMPLATE(TRACE_NOTICE
)
35 TP_TRACELOG_TEMPLATE(TRACE_INFO
)
36 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_SYSTEM
)
37 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_PROGRAM
)
38 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_PROCESS
)
39 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_MODULE
)
40 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_UNIT
)
41 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_FUNCTION
)
42 TP_TRACELOG_TEMPLATE(TRACE_DEBUG_LINE
)
43 TP_TRACELOG_TEMPLATE(TRACE_DEBUG
)
This page took 0.030033 seconds and 4 git commands to generate.