From: Mathieu Desnoyers Date: Mon, 25 Apr 2011 17:53:18 +0000 (-0400) Subject: Markers: Add MARKER_LIB backward compatibility X-Git-Tag: v0.13~16 X-Git-Url: http://git.lttng.org/?p=ust.git;a=commitdiff_plain;h=7a05c99d86cae6ab93f9122125f632ba9063f498 Markers: Add MARKER_LIB backward compatibility Signed-off-by: Mathieu Desnoyers --- diff --git a/include/ust/marker.h b/include/ust/marker.h index 2c34bd7..009548f 100644 --- a/include/ust/marker.h +++ b/include/ust/marker.h @@ -353,6 +353,12 @@ extern int ust_marker_unregister_lib(struct ust_marker * const *ust_marker_start ust_marker_unregister_lib(__start___ust_marker_ptrs); \ } +/* + * MARKER_LIB is kept for backward compatibility and will be + * *DEPRECATED*. Use UST_MARKER_LIB instead. + */ +#define MARKER_LIB UST_MARKER_LIB + extern void ust_marker_set_new_ust_marker_cb(void (*cb)(struct ust_marker *)); extern void init_ust_marker(void);