mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 17:08:36 +00:00
ipc: Use U_TRACE_SET_THREAD_NAME
This commit is contained in:
parent
d48de0d832
commit
386aa510bd
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
|
||||
#include "util/u_misc.h"
|
||||
#include "util/u_trace_marker.h"
|
||||
|
||||
#include "server/ipc_server.h"
|
||||
#include "ipc_server_generated.h"
|
||||
|
@ -67,6 +68,8 @@ setup_epoll(volatile struct ipc_client_state *ics)
|
|||
static void
|
||||
client_loop(volatile struct ipc_client_state *ics)
|
||||
{
|
||||
U_TRACE_SET_THREAD_NAME("IPC Client");
|
||||
|
||||
IPC_INFO(ics->server, "Client connected");
|
||||
|
||||
// Claim the client fd.
|
||||
|
@ -145,6 +148,8 @@ client_loop(volatile struct ipc_client_state *ics)
|
|||
static void
|
||||
client_loop(volatile struct ipc_client_state *ics)
|
||||
{
|
||||
U_TRACE_SET_THREAD_NAME("IPC Client");
|
||||
|
||||
IPC_INFO(ics->server, "Client connected");
|
||||
|
||||
uint8_t buf[IPC_BUF_SIZE];
|
||||
|
|
Loading…
Reference in a new issue