#include <urcu/list.h>
struct ust_marker;
+struct ust_marker_probe_array;
/**
* ust_marker_probe_func - Type of a marker probe function
uint16_t event_id; /* Numeric event identifier, dynamic */
void (*call)(const struct ust_marker *mdata, void *call_private, ...);
struct ust_marker_probe_closure single;
- struct ust_marker_probe_closure *multi;
+ struct ust_marker_probe_array *multi;
const char *tp_name; /* Optional tracepoint name */
void *tp_cb; /* Optional tracepoint callback */
};
#define ust_marker(name, format, args...) \
__ust_marker(ust, name, NULL, format, ## args)
-static inline __attribute__((deprecated))
-void __trace_mark_is_deprecated()
-{
-}
-
/**
* UST_MARKER_NOARGS - Format string for a marker with no argument.
*/
* ust_marker().
*/
#define trace_mark(channel, name, format, args...) \
- __trace_mark_is_deprecated(); \
ust_marker(name, format, ## args)
static inline __attribute__((deprecated))