X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust%2Fmarker.h;h=009548fb533ecf5f1da5732dc8b6280af16e56b1;hb=7a05c99d86cae6ab93f9122125f632ba9063f498;hp=b9621bff2b019e350291033cfa1324fa346365f4;hpb=7b36b13a3a6615e87b2fc5b0bb39c5a74f1b6a76;p=ust.git diff --git a/include/ust/marker.h b/include/ust/marker.h index b9621bf..009548f 100644 --- a/include/ust/marker.h +++ b/include/ust/marker.h @@ -216,7 +216,7 @@ extern void ust_marker_update_probe_range(struct ust_marker * const *begin, * ust_marker(). */ #define trace_mark(channel, name, format, args...) \ - ust_marker(ust, name, format, ## args) + ust_marker(name, format, ## args) /** * ust_marker_tp - Marker in a tracepoint callback @@ -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);