- context_info_array = (*env)->GetByteArrayElements(env, context_info, &iscopy);
- lttng_ust_context_info_tls.ctx = (struct lttng_ust_jni_ctx *) context_info_array;
- lttng_ust_context_info_tls.len = (*env)->GetArrayLength(env, context_info);
+ context_info_entries_array = (*env)->GetByteArrayElements(env, context_info_entries, &iscopy);
+ lttng_ust_context_info_tls.ctx_entries = (struct lttng_ust_jni_ctx_entry *) context_info_entries_array;
+ lttng_ust_context_info_tls.ctx_entries_len = (*env)->GetArrayLength(env, context_info_entries);
+ context_info_strings_array = (*env)->GetByteArrayElements(env, context_info_strings, &iscopy);
+ lttng_ust_context_info_tls.ctx_strings = context_info_strings_array;
+ lttng_ust_context_info_tls.ctx_strings_len = (*env)->GetArrayLength(env, context_info_strings);