From 8b0e7675e4d8d34aa5359e6477e9dbaae2781ce4 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 20 Nov 2022 11:32:45 +0000 Subject: [PATCH] u/sink: Use U_TRACE_SET_THREAD_NAME --- src/xrt/auxiliary/util/u_sink_force_genlock.c | 2 +- src/xrt/auxiliary/util/u_sink_queue.c | 2 +- src/xrt/auxiliary/util/u_sink_simple_queue.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xrt/auxiliary/util/u_sink_force_genlock.c b/src/xrt/auxiliary/util/u_sink_force_genlock.c index 73bdab614..039915309 100644 --- a/src/xrt/auxiliary/util/u_sink_force_genlock.c +++ b/src/xrt/auxiliary/util/u_sink_force_genlock.c @@ -58,7 +58,7 @@ struct u_sink_force_genlock static void * force_genlock_mainloop(void *ptr) { - SINK_TRACE_MARKER(); + U_TRACE_SET_THREAD_NAME("Sink Genlock"); struct u_sink_force_genlock *q = (struct u_sink_force_genlock *)ptr; struct xrt_frame *frames[2] = {NULL, NULL}; diff --git a/src/xrt/auxiliary/util/u_sink_queue.c b/src/xrt/auxiliary/util/u_sink_queue.c index a8c1cefe2..8ab0c2693 100644 --- a/src/xrt/auxiliary/util/u_sink_queue.c +++ b/src/xrt/auxiliary/util/u_sink_queue.c @@ -129,7 +129,7 @@ queue_refclear(struct u_sink_queue *q) static void * queue_mainloop(void *ptr) { - SINK_TRACE_MARKER(); + U_TRACE_SET_THREAD_NAME("Sink Queue"); struct u_sink_queue *q = (struct u_sink_queue *)ptr; struct xrt_frame *frame = NULL; diff --git a/src/xrt/auxiliary/util/u_sink_simple_queue.c b/src/xrt/auxiliary/util/u_sink_simple_queue.c index 1d56a205b..568243157 100644 --- a/src/xrt/auxiliary/util/u_sink_simple_queue.c +++ b/src/xrt/auxiliary/util/u_sink_simple_queue.c @@ -53,7 +53,7 @@ struct u_sink_queue static void * queue_mainloop(void *ptr) { - SINK_TRACE_MARKER(); + U_TRACE_SET_THREAD_NAME("Sink Queue"); struct u_sink_queue *q = (struct u_sink_queue *)ptr; struct xrt_frame *frame = NULL;