mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-22 14:41:47 +00:00
t/gui: Add tracing support
This commit is contained in:
parent
94d029ed15
commit
e312422e61
|
@ -9,7 +9,9 @@
|
||||||
|
|
||||||
#include "util/u_var.h"
|
#include "util/u_var.h"
|
||||||
#include "gui_sdl2.h"
|
#include "gui_sdl2.h"
|
||||||
|
#include "util/u_trace_marker.h"
|
||||||
|
|
||||||
|
U_TRACE_TARGET_SETUP(U_TRACE_WHICH_SERVICE)
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
|
@ -20,6 +22,8 @@ main(int argc, char **argv)
|
||||||
// Need to do this as early as possible.
|
// Need to do this as early as possible.
|
||||||
u_var_force_on();
|
u_var_force_on();
|
||||||
|
|
||||||
|
u_trace_marker_init();
|
||||||
|
|
||||||
ret = gui_sdl2_init(&p);
|
ret = gui_sdl2_init(&p);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
gui_sdl2_quit(&p);
|
gui_sdl2_quit(&p);
|
||||||
|
|
Loading…
Reference in a new issue