Introduce vtracelog
[lttng-ust.git] / include / lttng / tracelog.h
index 5f14f70d458b093c18ca294b2c43e79cf6e1c4c5..7aa8680987847ea2c76e9cae43c8aa05929dcc52 100644 (file)
@@ -53,12 +53,19 @@ TP_TRACELOG_CB_TEMPLATE(TRACE_DEBUG);
 
 #define tracelog(level, fmt, ...)                                      \
        do {                                                            \
-               STAP_PROBEV(tracepoint_lttng_ust_tracelog, level, ## __VA_ARGS__); \
+               LTTNG_STAP_PROBEV(tracepoint_lttng_ust_tracelog, level, ## __VA_ARGS__); \
                if (caa_unlikely(__tracepoint_lttng_ust_tracelog___##level.state)) \
                        _lttng_ust_tracelog_##level(__FILE__, __LINE__, __func__, \
                                fmt, ## __VA_ARGS__); \
        } while (0)
 
+#define vtracelog(level, fmt, ap)                                      \
+       do {                                                            \
+               if (caa_unlikely(__tracepoint_lttng_ust_tracelog___##level.state)) \
+                       _lttng_ust_tracelog_##level(__FILE__, __LINE__, __func__, \
+                               fmt, ap); \
+       } while (0)
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.024673 seconds and 4 git commands to generate.