2 * SPDX-License-Identifier: MIT
4 * Copyright 2020 (C) Francis Deslauriers <francis.deslauriers@efficios.com>
7 #ifndef _LTTNG_UST_CONTEXT_INTERNAL_H
8 #define _LTTNG_UST_CONTEXT_INTERNAL_H
10 #include <lttng/ust-events.h>
11 #include "lib/lttng-ust/events.h"
12 #include "common/ust-context-provider.h"
14 int lttng_context_init_all(struct lttng_ust_ctx
**ctx
)
15 __attribute__((visibility("hidden")));
17 int lttng_attach_context(struct lttng_ust_abi_context
*context_param
,
18 union lttng_ust_abi_args
*uargs
,
19 struct lttng_ust_ctx
**ctx
, struct lttng_ust_session
*session
)
20 __attribute__((visibility("hidden")));
22 int lttng_find_context(struct lttng_ust_ctx
*ctx
, const char *name
)
23 __attribute__((visibility("hidden")));
25 int lttng_get_context_index(struct lttng_ust_ctx
*ctx
, const char *name
)
26 __attribute__((visibility("hidden")));
28 void lttng_destroy_context(struct lttng_ust_ctx
*ctx
)
29 __attribute__((visibility("hidden")));
31 int lttng_ust_context_append_rcu(struct lttng_ust_ctx
**ctx_p
,
32 const struct lttng_ust_ctx_field
*f
)
33 __attribute__((visibility("hidden")));
35 int lttng_ust_context_append(struct lttng_ust_ctx
**ctx_p
,
36 const struct lttng_ust_ctx_field
*f
)
37 __attribute__((visibility("hidden")));
39 void lttng_context_vtid_reset(void)
40 __attribute__((visibility("hidden")));
42 void lttng_context_vpid_reset(void)
43 __attribute__((visibility("hidden")));
45 void lttng_context_cgroup_ns_reset(void)
46 __attribute__((visibility("hidden")));
48 void lttng_context_ipc_ns_reset(void)
49 __attribute__((visibility("hidden")));
51 void lttng_context_mnt_ns_reset(void)
52 __attribute__((visibility("hidden")));
54 void lttng_context_net_ns_reset(void)
55 __attribute__((visibility("hidden")));
57 void lttng_context_pid_ns_reset(void)
58 __attribute__((visibility("hidden")));
60 void lttng_context_user_ns_reset(void)
61 __attribute__((visibility("hidden")));
63 void lttng_context_uts_ns_reset(void)
64 __attribute__((visibility("hidden")));
66 void lttng_context_time_ns_reset(void)
67 __attribute__((visibility("hidden")));
69 void lttng_context_vuid_reset(void)
70 __attribute__((visibility("hidden")));
72 void lttng_context_veuid_reset(void)
73 __attribute__((visibility("hidden")));
75 void lttng_context_vsuid_reset(void)
76 __attribute__((visibility("hidden")));
78 void lttng_context_vgid_reset(void)
79 __attribute__((visibility("hidden")));
81 void lttng_context_vegid_reset(void)
82 __attribute__((visibility("hidden")));
84 void lttng_context_vsgid_reset(void)
85 __attribute__((visibility("hidden")));
87 int lttng_add_vtid_to_ctx(struct lttng_ust_ctx
**ctx
)
88 __attribute__((visibility("hidden")));
90 int lttng_add_vpid_to_ctx(struct lttng_ust_ctx
**ctx
)
91 __attribute__((visibility("hidden")));
93 int lttng_add_pthread_id_to_ctx(struct lttng_ust_ctx
**ctx
)
94 __attribute__((visibility("hidden")));
96 int lttng_add_procname_to_ctx(struct lttng_ust_ctx
**ctx
)
97 __attribute__((visibility("hidden")));
99 int lttng_add_ip_to_ctx(struct lttng_ust_ctx
**ctx
)
100 __attribute__((visibility("hidden")));
102 int lttng_add_cpu_id_to_ctx(struct lttng_ust_ctx
**ctx
)
103 __attribute__((visibility("hidden")));
105 int lttng_add_dyntest_to_ctx(struct lttng_ust_ctx
**ctx
)
106 __attribute__((visibility("hidden")));
108 int lttng_add_cgroup_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
109 __attribute__((visibility("hidden")));
111 int lttng_add_ipc_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
112 __attribute__((visibility("hidden")));
114 int lttng_add_mnt_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
115 __attribute__((visibility("hidden")));
117 int lttng_add_net_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
118 __attribute__((visibility("hidden")));
120 int lttng_add_pid_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
121 __attribute__((visibility("hidden")));
123 int lttng_add_user_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
124 __attribute__((visibility("hidden")));
126 int lttng_add_uts_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
127 __attribute__((visibility("hidden")));
129 int lttng_add_time_ns_to_ctx(struct lttng_ust_ctx
**ctx
)
130 __attribute__((visibility("hidden")));
132 int lttng_add_vuid_to_ctx(struct lttng_ust_ctx
**ctx
)
133 __attribute__((visibility("hidden")));
135 int lttng_add_veuid_to_ctx(struct lttng_ust_ctx
**ctx
)
136 __attribute__((visibility("hidden")));
138 int lttng_add_vsuid_to_ctx(struct lttng_ust_ctx
**ctx
)
139 __attribute__((visibility("hidden")));
141 int lttng_add_vgid_to_ctx(struct lttng_ust_ctx
**ctx
)
142 __attribute__((visibility("hidden")));
144 int lttng_add_vegid_to_ctx(struct lttng_ust_ctx
**ctx
)
145 __attribute__((visibility("hidden")));
147 int lttng_add_vsgid_to_ctx(struct lttng_ust_ctx
**ctx
)
148 __attribute__((visibility("hidden")));
150 #endif /* _LTTNG_UST_CONTEXT_INTERNAL_H */
This page took 0.038549 seconds and 4 git commands to generate.