c/multi: Use U_TRACE_SET_THREAD_NAME

This commit is contained in:
Jakob Bornecrantz 2022-11-20 11:27:16 +00:00
parent 3a2dfd850c
commit 432bf03981
2 changed files with 4 additions and 4 deletions

View file

@ -266,7 +266,8 @@ run_func(void *ptr)
{
struct multi_compositor *mc = (struct multi_compositor *)ptr;
os_thread_helper_name(&(mc->wait_thread.oth), "Multi-Compositor Client Wait Thread");
U_TRACE_SET_THREAD_NAME("Multi Client Module: Waiter");
os_thread_helper_name(&mc->wait_thread.oth, "Multi Client Module: Waiter");
os_thread_helper_lock(&mc->wait_thread.oth);

View file

@ -434,9 +434,8 @@ update_session_state_locked(struct multi_system_compositor *msc)
static int
multi_main_loop(struct multi_system_compositor *msc)
{
COMP_TRACE_MARKER();
os_thread_helper_name(&(msc->oth), "Multi-Compositor");
U_TRACE_SET_THREAD_NAME("Multi Client Module");
os_thread_helper_name(&msc->oth, "Multi Client Module");
struct xrt_compositor *xc = &msc->xcn->base;