| 1 | /* |
| 2 | * SPDX-License-Identifier: LGPL-2.1-only |
| 3 | * |
| 4 | * Copyright (C) 2016 EfficiOS Inc. |
| 5 | * Copyright (C) 2016 Alexandre Montplaisir <alexmonthy@efficios.com> |
| 6 | */ |
| 7 | |
| 8 | #ifndef LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_ |
| 9 | #define LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_ |
| 10 | |
| 11 | struct lttng_ust_jni_ctx_entry; |
| 12 | |
| 13 | struct lttng_ust_jni_tls { |
| 14 | struct lttng_ust_jni_ctx_entry *ctx_entries; |
| 15 | int32_t ctx_entries_len; |
| 16 | signed char *ctx_strings; |
| 17 | int32_t ctx_strings_len; |
| 18 | }; |
| 19 | |
| 20 | extern __thread struct lttng_ust_jni_tls lttng_ust_context_info_tls; |
| 21 | |
| 22 | #endif /* LIBLTTNG_UST_JAVA_AGENT_JNI_COMMON_LTTNG_UST_CONTEXT_H_ */ |