Add a Log4j 2.x Java agent
[lttng-ust.git] / liblttng-ust-java-agent / jni / log4j / lttng_ust_log4j.c
index 72eca1d4a7c71be6fb3744d969d74b6352ee9766..f33dbc9c7d9bfa4c02a183d7219836d63945563c 100644 (file)
@@ -20,9 +20,7 @@
 #define _LGPL_SOURCE
 #include "org_lttng_ust_agent_log4j_LttngLog4jApi.h"
 
-#define TRACEPOINT_DEFINE
-#define TRACEPOINT_CREATE_PROBES
-#include "lttng_ust_log4j.h"
+#include "lttng_ust_log4j_tp.h"
 #include "../common/lttng_ust_context.h"
 
 /*
This page took 0.022897 seconds and 4 git commands to generate.