diff --git a/src/xrt/auxiliary/util/u_trace_marker.h b/src/xrt/auxiliary/util/u_trace_marker.h index 1400edf42..d3ca65fcc 100644 --- a/src/xrt/auxiliary/util/u_trace_marker.h +++ b/src/xrt/auxiliary/util/u_trace_marker.h @@ -53,10 +53,12 @@ void u_trace_marker_init(void); #define VK_TRACE_IDENT(IDENT) U_TRACE_EVENT(vk, #IDENT) +#define SINK_TRACE_IDENT(IDENT) U_TRACE_EVENT(sink, #IDENT) #define XRT_TRACE_MARKER() U_TRACE_EVENT(xrt, __func__) #define IPC_TRACE_MARKER() U_TRACE_EVENT(ipc, __func__) #define OXR_TRACE_MARKER() U_TRACE_EVENT(oxr, __func__) #define COMP_TRACE_MARKER() U_TRACE_EVENT(comp, __func__) +#define SINK_TRACE_MARKER() U_TRACE_EVENT(sink, __func__) /* @@ -80,6 +82,7 @@ u_trace_marker_init(void); #define U_TRACE_CATEGORIES(C, G) \ C(vk, "vk") /* Vulkan calls */ \ C(xrt, "xrt") /* Misc XRT calls */ \ + C(sink, "sink") /* Sink/frameserver calls */ \ C(oxr, "st/oxr") /* OpenXR State Tracker calls */ \ C(comp, "comp") /* Compositor calls */ \ C(ipc, "ipc") /* IPC calls */ \