X-Git-Url: https://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=include%2Fust%2Fmarker.h;h=2c34bd7b12979b16e0048801b38ace7a7be0b16f;hp=481bc79b0f42e7295ef6c284498f6123db76b8bd;hb=5dac4513e7090e192faee98abf98634207e45d9d;hpb=5389de4dde9f6c008db07d19ba6f721eb23a025a diff --git a/include/ust/marker.h b/include/ust/marker.h index 481bc79..2c34bd7 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 @@ -237,6 +237,12 @@ extern void ust_marker_update_probe_range(struct ust_marker * const *begin, */ #define UST_MARKER_NOARGS " " +/** + * MARKER_NOARGS - Compatibility API. Will be *DEPRECATED*. Use + * UST_MARKER_NOARGS instead. + */ +#define MARK_NOARGS UST_MARKER_NOARGS + extern void lock_ust_marker(void); extern void unlock_ust_marker(void);