415f7de228fa9bcbc500dc28929a978272ef0b76
[lttng-ust.git] / liblttng-ust-java-agent / jni / common / lttng_ust_context.h
1 /*
2 * Copyright (C) 2016 - EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; only
7 * version 2.1 of the License.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19 #ifndef LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_
20 #define LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_
21
22 struct lttng_ust_jni_ctx_entry;
23
24 struct lttng_ust_jni_tls {
25 struct lttng_ust_jni_ctx_entry *ctx_entries;
26 int32_t ctx_entries_len;
27 signed char *ctx_strings;
28 int32_t ctx_strings_len;
29 };
30
31 extern __thread struct lttng_ust_jni_tls lttng_ust_context_info_tls;
32
33 #endif /* LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_ */
This page took 0.028561 seconds and 3 git commands to generate.