~khurshid-alam/libunity/glib-2.59.3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#undef TRACEPOINT_PROVIDER
#define TRACEPOINT_PROVIDER libunity

#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./lttng-component-provider.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#if !defined(_LIBUNITY_COMPONENT_PROVIDER_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _LIBUNITY_COMPONENT_PROVIDER_H

#include <lttng/tracepoint.h> 

TRACEPOINT_EVENT(
	libunity,
	message,
	TP_ARGS(char *, text),
	TP_FIELDS(
		ctf_string(message, text)
	)
)

TRACEPOINT_LOGLEVEL(
        libunity,
        message,
        TRACE_INFO)

#endif

#include <lttng/tracepoint-event.h>

#ifdef __cplusplus
}
#endif /* __cplusplus */