Move the ringbuffer and counter clients to 'src/common/'
[lttng-ust.git] / src / lib / lttng-ust / context-internal.h
CommitLineData
51f804ec 1/*
c0c0989a 2 * SPDX-License-Identifier: MIT
51f804ec 3 *
c0c0989a 4 * Copyright 2020 (C) Francis Deslauriers <francis.deslauriers@efficios.com>
51f804ec
FD
5 */
6
c0c0989a
MJ
7#ifndef _LTTNG_UST_CONTEXT_INTERNAL_H
8#define _LTTNG_UST_CONTEXT_INTERNAL_H
9
51f804ec 10#include <lttng/ust-events.h>
36c52fff 11#include "lib/lttng-ust/events.h"
9d315d6d 12#include "common/ust-context-provider.h"
51f804ec 13
1d18d519
MJ
14int lttng_context_init_all(struct lttng_ust_ctx **ctx)
15 __attribute__((visibility("hidden")));
51f804ec 16
fd17d7ce
MD
17int lttng_attach_context(struct lttng_ust_abi_context *context_param,
18 union lttng_ust_abi_args *uargs,
1d18d519
MJ
19 struct lttng_ust_ctx **ctx, struct lttng_ust_session *session)
20 __attribute__((visibility("hidden")));
fc80554e 21
1d18d519
MJ
22int lttng_find_context(struct lttng_ust_ctx *ctx, const char *name)
23 __attribute__((visibility("hidden")));
ddabe860 24
1d18d519
MJ
25int lttng_get_context_index(struct lttng_ust_ctx *ctx, const char *name)
26 __attribute__((visibility("hidden")));
ddabe860 27
4e48b5d2 28void lttng_destroy_context(struct lttng_ust_ctx *ctx)
1d18d519 29 __attribute__((visibility("hidden")));
ddabe860 30
4e48b5d2
MD
31int lttng_ust_context_append_rcu(struct lttng_ust_ctx **ctx_p,
32 const struct lttng_ust_ctx_field *f)
1d18d519 33 __attribute__((visibility("hidden")));
fc80554e 34
4e48b5d2
MD
35int lttng_ust_context_append(struct lttng_ust_ctx **ctx_p,
36 const struct lttng_ust_ctx_field *f)
1d18d519 37 __attribute__((visibility("hidden")));
cbbc1cda 38
1d18d519
MJ
39void lttng_context_vtid_reset(void)
40 __attribute__((visibility("hidden")));
ddabe860 41
1d18d519
MJ
42void lttng_context_vpid_reset(void)
43 __attribute__((visibility("hidden")));
ddabe860 44
1d18d519
MJ
45void lttng_context_cgroup_ns_reset(void)
46 __attribute__((visibility("hidden")));
ddabe860 47
1d18d519
MJ
48void lttng_context_ipc_ns_reset(void)
49 __attribute__((visibility("hidden")));
ddabe860 50
1d18d519
MJ
51void lttng_context_mnt_ns_reset(void)
52 __attribute__((visibility("hidden")));
ddabe860 53
1d18d519
MJ
54void lttng_context_net_ns_reset(void)
55 __attribute__((visibility("hidden")));
ddabe860 56
1d18d519
MJ
57void lttng_context_pid_ns_reset(void)
58 __attribute__((visibility("hidden")));
ddabe860 59
1d18d519
MJ
60void lttng_context_user_ns_reset(void)
61 __attribute__((visibility("hidden")));
ddabe860 62
1d18d519
MJ
63void lttng_context_uts_ns_reset(void)
64 __attribute__((visibility("hidden")));
ddabe860 65
1d18d519
MJ
66void lttng_context_time_ns_reset(void)
67 __attribute__((visibility("hidden")));
ddabe860 68
1d18d519
MJ
69void lttng_context_vuid_reset(void)
70 __attribute__((visibility("hidden")));
ddabe860 71
1d18d519
MJ
72void lttng_context_veuid_reset(void)
73 __attribute__((visibility("hidden")));
ddabe860 74
1d18d519
MJ
75void lttng_context_vsuid_reset(void)
76 __attribute__((visibility("hidden")));
ddabe860 77
1d18d519
MJ
78void lttng_context_vgid_reset(void)
79 __attribute__((visibility("hidden")));
ddabe860 80
1d18d519
MJ
81void lttng_context_vegid_reset(void)
82 __attribute__((visibility("hidden")));
ddabe860 83
1d18d519
MJ
84void lttng_context_vsgid_reset(void)
85 __attribute__((visibility("hidden")));
5287fad0 86
1d18d519
MJ
87int lttng_add_vtid_to_ctx(struct lttng_ust_ctx **ctx)
88 __attribute__((visibility("hidden")));
ddabe860 89
1d18d519
MJ
90int lttng_add_vpid_to_ctx(struct lttng_ust_ctx **ctx)
91 __attribute__((visibility("hidden")));
ddabe860 92
1d18d519
MJ
93int lttng_add_pthread_id_to_ctx(struct lttng_ust_ctx **ctx)
94 __attribute__((visibility("hidden")));
ddabe860 95
1d18d519
MJ
96int lttng_add_procname_to_ctx(struct lttng_ust_ctx **ctx)
97 __attribute__((visibility("hidden")));
ddabe860 98
1d18d519
MJ
99int lttng_add_ip_to_ctx(struct lttng_ust_ctx **ctx)
100 __attribute__((visibility("hidden")));
ddabe860 101
1d18d519
MJ
102int lttng_add_cpu_id_to_ctx(struct lttng_ust_ctx **ctx)
103 __attribute__((visibility("hidden")));
ddabe860 104
1d18d519
MJ
105int lttng_add_dyntest_to_ctx(struct lttng_ust_ctx **ctx)
106 __attribute__((visibility("hidden")));
ddabe860 107
1d18d519
MJ
108int lttng_add_cgroup_ns_to_ctx(struct lttng_ust_ctx **ctx)
109 __attribute__((visibility("hidden")));
ddabe860 110
1d18d519
MJ
111int lttng_add_ipc_ns_to_ctx(struct lttng_ust_ctx **ctx)
112 __attribute__((visibility("hidden")));
ddabe860 113
1d18d519
MJ
114int lttng_add_mnt_ns_to_ctx(struct lttng_ust_ctx **ctx)
115 __attribute__((visibility("hidden")));
ddabe860 116
1d18d519
MJ
117int lttng_add_net_ns_to_ctx(struct lttng_ust_ctx **ctx)
118 __attribute__((visibility("hidden")));
ddabe860 119
1d18d519
MJ
120int lttng_add_pid_ns_to_ctx(struct lttng_ust_ctx **ctx)
121 __attribute__((visibility("hidden")));
ddabe860 122
1d18d519
MJ
123int lttng_add_user_ns_to_ctx(struct lttng_ust_ctx **ctx)
124 __attribute__((visibility("hidden")));
ddabe860 125
1d18d519
MJ
126int lttng_add_uts_ns_to_ctx(struct lttng_ust_ctx **ctx)
127 __attribute__((visibility("hidden")));
ddabe860 128
1d18d519
MJ
129int lttng_add_time_ns_to_ctx(struct lttng_ust_ctx **ctx)
130 __attribute__((visibility("hidden")));
ddabe860 131
1d18d519
MJ
132int lttng_add_vuid_to_ctx(struct lttng_ust_ctx **ctx)
133 __attribute__((visibility("hidden")));
ddabe860 134
1d18d519
MJ
135int lttng_add_veuid_to_ctx(struct lttng_ust_ctx **ctx)
136 __attribute__((visibility("hidden")));
ddabe860 137
1d18d519
MJ
138int lttng_add_vsuid_to_ctx(struct lttng_ust_ctx **ctx)
139 __attribute__((visibility("hidden")));
ddabe860 140
1d18d519
MJ
141int lttng_add_vgid_to_ctx(struct lttng_ust_ctx **ctx)
142 __attribute__((visibility("hidden")));
ddabe860 143
1d18d519
MJ
144int lttng_add_vegid_to_ctx(struct lttng_ust_ctx **ctx)
145 __attribute__((visibility("hidden")));
ddabe860 146
1d18d519
MJ
147int lttng_add_vsgid_to_ctx(struct lttng_ust_ctx **ctx)
148 __attribute__((visibility("hidden")));
5287fad0 149
51f804ec 150#endif /* _LTTNG_UST_CONTEXT_INTERNAL_H */
This page took 0.033814 seconds and 4 git commands to generate.