From e312422e615b8cfa2d3f3db5919e6cd4a9e3aefc Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Fri, 9 Jul 2021 19:57:24 -0500 Subject: [PATCH] t/gui: Add tracing support --- src/xrt/targets/gui/gui_sdl2_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/targets/gui/gui_sdl2_main.c b/src/xrt/targets/gui/gui_sdl2_main.c index 1aa0fb281..c6d3e6700 100644 --- a/src/xrt/targets/gui/gui_sdl2_main.c +++ b/src/xrt/targets/gui/gui_sdl2_main.c @@ -9,7 +9,9 @@ #include "util/u_var.h" #include "gui_sdl2.h" +#include "util/u_trace_marker.h" +U_TRACE_TARGET_SETUP(U_TRACE_WHICH_SERVICE) int main(int argc, char **argv) @@ -20,6 +22,8 @@ main(int argc, char **argv) // Need to do this as early as possible. u_var_force_on(); + u_trace_marker_init(); + ret = gui_sdl2_init(&p); if (ret != 0) { gui_sdl2_quit(&p);