d/psmv: Use U_TRACE_SET_THREAD_NAME

This commit is contained in:
Jakob Bornecrantz 2022-11-20 11:29:19 +00:00
parent 0691ed9b89
commit 5142fa7e88
2 changed files with 4 additions and 1 deletions

View file

@ -153,7 +153,7 @@ if(XRT_BUILD_DRIVER_PSMV)
add_library(drv_psmv STATIC psmv/psmv_driver.c psmv/psmv_interface.h)
target_link_libraries(
drv_psmv
PRIVATE xrt-interfaces
PRIVATE xrt-interfaces aux_util
PUBLIC aux_os aux_tracking
)
list(APPEND ENABLED_DRIVERS psmv)

View file

@ -27,6 +27,7 @@
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_logging.h"
#include "util/u_trace_marker.h"
#include "psmv_interface.h"
@ -706,6 +707,8 @@ psmv_read_one_packet(struct psmv_device *psmv, uint8_t *buffer, size_t size)
static void *
psmv_run_thread(void *ptr)
{
U_TRACE_SET_THREAD_NAME("PS Move");
struct psmv_device *psmv = (struct psmv_device *)ptr;
union {