X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=include%2Fust%2Fmarker.h;h=481bc79b0f42e7295ef6c284498f6123db76b8bd;hp=1a3d74e9a8ac20e6c03a6b91cff70e0014c9fd48;hb=5389de4dde9f6c008db07d19ba6f721eb23a025a;hpb=e367f87dd015ac2f8f690761a772f535339733ca diff --git a/include/ust/marker.h b/include/ust/marker.h index 1a3d74e..481bc79 100644 --- a/include/ust/marker.h +++ b/include/ust/marker.h @@ -204,6 +204,20 @@ extern void ust_marker_update_probe_range(struct ust_marker * const *begin, #define ust_marker(name, format, args...) \ __ust_marker(ust, name, NULL, format, ## args) + +/* + * trace_mark() -- TO BE DEPRECATED + * @channel: name prefix, not quoted. Ignored. + * @name: marker name, not quoted. + * @format: format string + * @args...: variable argument list + * + * Kept as a compatibility API and will be *DEPRECATED* in favor of + * ust_marker(). + */ +#define trace_mark(channel, name, format, args...) \ + ust_marker(ust, name, format, args) + /** * ust_marker_tp - Marker in a tracepoint callback * @name: marker name, not quoted.