From 7b0cee5a85a263dcf01ec3cabfead304d30b097c Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 8 Mar 2022 10:33:51 +0000 Subject: [PATCH] u/trace_marker: Add new tracking category --- src/xrt/auxiliary/util/u_trace_marker.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xrt/auxiliary/util/u_trace_marker.h b/src/xrt/auxiliary/util/u_trace_marker.h index a4cd69ba0..a9a17a02b 100644 --- a/src/xrt/auxiliary/util/u_trace_marker.h +++ b/src/xrt/auxiliary/util/u_trace_marker.h @@ -66,6 +66,8 @@ u_trace_marker_init(void); #define COMP_TRACE_IDENT(IDENT) U_TRACE_EVENT(comp, #IDENT) #define SINK_TRACE_MARKER() U_TRACE_EVENT(sink, __func__) #define SINK_TRACE_IDENT(IDENT) U_TRACE_EVENT(sink, #IDENT) +#define TRACK_TRACE_MARKER() U_TRACE_EVENT(track, __func__) +#define TRACK_TRACE_IDENT(IDENT) U_TRACE_EVENT(track, #IDENT) /* @@ -94,6 +96,7 @@ u_trace_marker_init(void); C(oxr, "st/oxr") /* OpenXR State Tracker calls */ \ C(sink, "sink") /* Sink/frameserver calls */ \ C(comp, "comp") /* Compositor calls */ \ + C(track, "track") /* Tracking calls */ \ C(timing, "timing") /* Timing calls */ PERCETTO_CATEGORY_DECLARE(U_TRACE_CATEGORIES)