mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
d/psmv: Use U_TRACE_SET_THREAD_NAME
This commit is contained in:
parent
0691ed9b89
commit
5142fa7e88
|
@ -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)
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue