2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2013 Paul Woegerer <paul_woegerer@mentor.com>
5 * Copyright (C) 2015 Antoine Busque <abusque@efficios.com>
8 #undef LTTNG_UST_TRACEPOINT_PROVIDER
9 #define LTTNG_UST_TRACEPOINT_PROVIDER lttng_ust_dl
11 #if !defined(_TRACEPOINT_UST_DL_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_DL_H
22 #define LTTNG_UST_DL_PROVIDER
23 #include <lttng/tracepoint.h>
25 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_dl
, dlopen
,
26 LTTNG_UST_TP_ARGS(void *, ip
, void *, baddr
, const char *, path
,
27 int, flags
, uint64_t, memsz
, uint8_t, has_build_id
,
28 uint8_t, has_debug_link
),
31 lttng_ust_field_integer_hex(void *, baddr
, baddr
)
32 lttng_ust_field_integer(uint64_t, memsz
, memsz
)
33 lttng_ust_field_integer_hex(int, flags
, flags
)
34 ctf_string(path
, path
)
35 lttng_ust_field_integer(uint8_t, has_build_id
, has_build_id
)
36 lttng_ust_field_integer(uint8_t, has_debug_link
, has_debug_link
)
41 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_dl
, dlmopen
,
42 LTTNG_UST_TP_ARGS(void *, ip
, void *, baddr
, Lmid_t
, nsid
,
43 const char *, path
, int, flags
,
44 uint64_t, memsz
, uint8_t, has_build_id
,
45 uint8_t, has_debug_link
),
48 lttng_ust_field_integer_hex(void *, baddr
, baddr
)
49 lttng_ust_field_integer(uint64_t, memsz
, memsz
)
50 lttng_ust_field_integer(Lmid_t
, nsid
, nsid
)
51 lttng_ust_field_integer_hex(int, flags
, flags
)
52 ctf_string(path
, path
)
53 lttng_ust_field_integer(uint8_t, has_build_id
, has_build_id
)
54 lttng_ust_field_integer(uint8_t, has_debug_link
, has_debug_link
)
59 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_dl
, build_id
,
68 lttng_ust_field_integer_hex(void *, baddr
, baddr
)
69 lttng_ust_field_sequence_hex(uint8_t, build_id
, build_id
,
74 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_dl
, debug_link
,
83 lttng_ust_field_integer_hex(void *, baddr
, baddr
)
84 lttng_ust_field_integer(uint32_t, crc
, crc
)
85 ctf_string(filename
, filename
)
89 LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_dl
, dlclose
,
90 LTTNG_UST_TP_ARGS(void *, ip
, void *, baddr
),
93 lttng_ust_field_integer_hex(void *, baddr
, baddr
)
97 #endif /* _TRACEPOINT_UST_DL_H */
99 #undef LTTNG_UST_TRACEPOINT_INCLUDE
100 #define LTTNG_UST_TRACEPOINT_INCLUDE "./ust_dl.h"
102 /* This part must be outside ifdef protection */
103 #include <lttng/tracepoint-event.h>
This page took 0.03363 seconds and 5 git commands to generate.