Commit | Line | Data |
---|---|---|
8ab5c06b AM |
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 | ||
b1ca4c5f | 22 | struct lttng_ust_jni_ctx_entry; |
8ab5c06b AM |
23 | |
24 | struct lttng_ust_jni_tls { | |
b1ca4c5f AM |
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; | |
8ab5c06b AM |
29 | }; |
30 | ||
16adecf1 | 31 | extern __thread struct lttng_ust_jni_tls lttng_ust_context_info_tls; |
8ab5c06b AM |
32 | |
33 | #endif /* LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_ */ |