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 TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER lttng_ust_dl
11 #if !defined(_TRACEPOINT_UST_DL_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_DL_H
22 #define LTTNG_UST_DL_PROVIDER
23 #include <lttng/tracepoint.h>
25 TRACEPOINT_EVENT(lttng_ust_dl
, dlopen
,
26 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 ctf_integer_hex(void *, baddr
, baddr
)
32 ctf_integer(uint64_t, memsz
, memsz
)
33 ctf_integer_hex(int, flags
, flags
)
34 ctf_string(path
, path
)
35 ctf_integer(uint8_t, has_build_id
, has_build_id
)
36 ctf_integer(uint8_t, has_debug_link
, has_debug_link
)
41 TRACEPOINT_EVENT(lttng_ust_dl
, dlmopen
,
42 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 ctf_integer_hex(void *, baddr
, baddr
)
49 ctf_integer(uint64_t, memsz
, memsz
)
50 ctf_integer(Lmid_t
, nsid
, nsid
)
51 ctf_integer_hex(int, flags
, flags
)
52 ctf_string(path
, path
)
53 ctf_integer(uint8_t, has_build_id
, has_build_id
)
54 ctf_integer(uint8_t, has_debug_link
, has_debug_link
)
59 TRACEPOINT_EVENT(lttng_ust_dl
, build_id
,
68 ctf_integer_hex(void *, baddr
, baddr
)
69 ctf_sequence_hex(uint8_t, build_id
, build_id
,
74 TRACEPOINT_EVENT(lttng_ust_dl
, debug_link
,
83 ctf_integer_hex(void *, baddr
, baddr
)
84 ctf_integer(uint32_t, crc
, crc
)
85 ctf_string(filename
, filename
)
89 TRACEPOINT_EVENT(lttng_ust_dl
, dlclose
,
90 TP_ARGS(void *, ip
, void *, baddr
),
93 ctf_integer_hex(void *, baddr
, baddr
)
97 #endif /* _TRACEPOINT_UST_DL_H */
99 #undef TRACEPOINT_INCLUDE
100 #define TRACEPOINT_INCLUDE "./ust_dl.h"
102 /* This part must be outside ifdef protection */
103 #include <lttng/tracepoint-event.h>
This page took 0.034787 seconds and 6 git commands to generate.