projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide internal tracepoint and providers data symbols
[lttng-ust.git]
/
src
/
lib
/
lttng-ust-java-agent
/
jni
/
log4j
/
lttng_ust_log4j.c
diff --git
a/src/lib/lttng-ust-java-agent/jni/log4j/lttng_ust_log4j.c
b/src/lib/lttng-ust-java-agent/jni/log4j/lttng_ust_log4j.c
index e88235a6f56e964091430fb7046a477f3b62f8ea..fac8285740a04877662c14f5384697764a158736 100644
(file)
--- a/
src/lib/lttng-ust-java-agent/jni/log4j/lttng_ust_log4j.c
+++ b/
src/lib/lttng-ust-java-agent/jni/log4j/lttng_ust_log4j.c
@@
-9,8
+9,11
@@
#define _LGPL_SOURCE
#include "org_lttng_ust_agent_log4j_LttngLog4jApi.h"
#define _LGPL_SOURCE
#include "org_lttng_ust_agent_log4j_LttngLog4jApi.h"
-#define TRACEPOINT_DEFINE
-#define TRACEPOINT_CREATE_PROBES
+#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
+#define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
+
+#define LTTNG_UST_TRACEPOINT_DEFINE
+#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
#include "lttng_ust_log4j.h"
#include "../common/lttng_ust_context.h"
#include "lttng_ust_log4j.h"
#include "../common/lttng_ust_context.h"
@@
-37,7
+40,7
@@
JNIEXPORT void JNICALL Java_org_lttng_ust_agent_log4j_LttngLog4jApi_tracepoint(J
const char *file_name_cstr = (*env)->GetStringUTFChars(env, file_name, &iscopy);
const char *thread_name_cstr = (*env)->GetStringUTFChars(env, thread_name, &iscopy);
const char *file_name_cstr = (*env)->GetStringUTFChars(env, file_name, &iscopy);
const char *thread_name_cstr = (*env)->GetStringUTFChars(env, thread_name, &iscopy);
- tracepoint(lttng_log4j, event, msg_cstr, logger_name_cstr,
+
lttng_ust_
tracepoint(lttng_log4j, event, msg_cstr, logger_name_cstr,
class_name_cstr, method_name_cstr, file_name_cstr,
line_number, timestamp, loglevel, thread_name_cstr);
class_name_cstr, method_name_cstr, file_name_cstr,
line_number, timestamp, loglevel, thread_name_cstr);
@@
-87,7
+90,7
@@
JNIEXPORT void JNICALL Java_org_lttng_ust_agent_log4j_LttngLog4jApi_tracepointWi
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);
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);
- tracepoint(lttng_log4j, event, msg_cstr, logger_name_cstr,
+
lttng_ust_
tracepoint(lttng_log4j, event, msg_cstr, logger_name_cstr,
class_name_cstr, method_name_cstr, file_name_cstr,
line_number, timestamp, loglevel, thread_name_cstr);
class_name_cstr, method_name_cstr, file_name_cstr,
line_number, timestamp, loglevel, thread_name_cstr);
This page took
0.023965 seconds
and
4
git commands to generate.