-#define __trace_mark(generic, channel, name, call_private, format, args...) \
- __trace_mark_counter(generic, channel, name, __LINE__, call_private, format, ## args)
-
-#define __trace_mark_counter(generic, channel, name, unique, call_private, format, args...) \
- do { \
- struct marker *m; \
- DEFINE_MARKER(channel, name, format, unique, m); \
- __mark_check_format(format, ## args); \
- if (!generic) { \
- if (unlikely(imv_read(m->state))) \
- (m->call)(m, call_private, ®s, ## args); \
- } else { \
- if (unlikely(_imv_read(m->state))) \
- (m->call)(m, call_private, ®s, ## args); \
- } \
- } while (0)
+#define __ust_marker(channel, name, call_private, format, args...) \
+ __ust_marker_counter(channel, name, __LINE__, call_private, format, ## args)