From: Mathieu Desnoyers Date: Fri, 2 Dec 2011 01:55:07 +0000 (-0500) Subject: Update lttng-ust java provider following API change X-Git-Tag: v1.9.1~37 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d97bc7ed0f897b3ac38c9a5ded86e879febab8d4;p=lttng-ust.git Update lttng-ust java provider following API change Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-java/lttng_ust_java.h b/liblttng-ust-java/lttng_ust_java.h index 3e2eb045..782cb118 100644 --- a/liblttng-ust-java/lttng_ust_java.h +++ b/liblttng-ust-java/lttng_ust_java.h @@ -25,8 +25,7 @@ #include TRACEPOINT_EVENT(lttng_ust_java, string, - TP_PROTO(const char *name, const char *args), - TP_VARS(name, args), + TP_ARGS(const char *, name, const char *, args), TP_FIELDS( ctf_string(name, name) ctf_string(args, args) @@ -35,10 +34,8 @@ TRACEPOINT_EVENT(lttng_ust_java, string, #endif /* _TRACEPOINT_LTTNG_UST_JAVA_H */ -#undef TRACEPOINT_INCLUDE_PATH -#define TRACEPOINT_INCLUDE_PATH . #undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE lttng_ust_java +#define TRACEPOINT_INCLUDE_FILE ./lttng_ust_java /* This part must be outside protection */ #include