u/trace_marker: Add sink category

This commit is contained in:
Jakob Bornecrantz 2021-07-09 19:19:41 +01:00
parent 9ba24e3b15
commit e04decbe64

View file

@ -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 */ \