b6a6f7e5970da8f8e789593f537debcf414fd643
1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER lttng_ust_statedump
4 #if !defined(_TRACEPOINT_LTTNG_UST_STATEDUMP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_LTTNG_UST_STATEDUMP_H
12 * Copyright (C) 2013 Paul Woegerer <paul_woegerer@mentor.com>
13 * Copyright (C) 2015 Antoine Busque <abusque@efficios.com>
15 * Permission is hereby granted, free of charge, to any person obtaining a copy
16 * of this software and associated documentation files (the "Software"), to deal
17 * in the Software without restriction, including without limitation the rights
18 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19 * copies of the Software, and to permit persons to whom the Software is
20 * furnished to do so, subject to the following conditions:
22 * The above copyright notice and this permission notice shall be included in
23 * all copies or substantial portions of the Software.
25 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36 #include <lttng/ust-events.h>
38 #define LTTNG_UST_STATEDUMP_PROVIDER
39 #include <lttng/tracepoint.h>
41 TRACEPOINT_EVENT(lttng_ust_statedump
, start
,
42 TP_ARGS(struct lttng_session
*, session
),
46 TRACEPOINT_EVENT(lttng_ust_statedump
, bin_info
,
48 struct lttng_session
*, session
,
53 uint8_t, has_build_id
,
54 uint8_t, has_debug_link
57 ctf_integer_hex(void *, baddr
, baddr
)
58 ctf_integer(uint64_t, memsz
, memsz
)
59 ctf_string(path
, path
)
60 ctf_integer(uint8_t, is_pic
, is_pic
)
61 ctf_integer(uint8_t, has_build_id
, has_build_id
)
62 ctf_integer(uint8_t, has_debug_link
, has_debug_link
)
66 TRACEPOINT_EVENT(lttng_ust_statedump
, build_id
,
68 struct lttng_session
*, session
,
74 ctf_integer_hex(void *, baddr
, baddr
)
75 ctf_sequence_hex(uint8_t, build_id
, build_id
,
80 TRACEPOINT_EVENT(lttng_ust_statedump
, debug_link
,
82 struct lttng_session
*, session
,
88 ctf_integer_hex(void *, baddr
, baddr
)
89 ctf_integer(uint32_t, crc
, crc
)
90 ctf_string(filename
, filename
)
94 TRACEPOINT_EVENT(lttng_ust_statedump
, end
,
95 TP_ARGS(struct lttng_session
*, session
),
99 #endif /* _TRACEPOINT_LTTNG_UST_STATEDUMP_H */
101 #undef TRACEPOINT_INCLUDE
102 #define TRACEPOINT_INCLUDE "./lttng-ust-statedump-provider.h"
104 /* This part must be outside ifdef protection */
105 #include <lttng/tracepoint-event.h>
This page took 0.043872 seconds and 3 git commands to generate.