mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +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_misc.h"
|
||||||
|
#include "util/u_trace_marker.h"
|
||||||
|
|
||||||
#include "server/ipc_server.h"
|
#include "server/ipc_server.h"
|
||||||
#include "ipc_server_generated.h"
|
#include "ipc_server_generated.h"
|
||||||
|
@ -67,6 +68,8 @@ setup_epoll(volatile struct ipc_client_state *ics)
|
||||||
static void
|
static void
|
||||||
client_loop(volatile struct ipc_client_state *ics)
|
client_loop(volatile struct ipc_client_state *ics)
|
||||||
{
|
{
|
||||||
|
U_TRACE_SET_THREAD_NAME("IPC Client");
|
||||||
|
|
||||||
IPC_INFO(ics->server, "Client connected");
|
IPC_INFO(ics->server, "Client connected");
|
||||||
|
|
||||||
// Claim the client fd.
|
// Claim the client fd.
|
||||||
|
@ -145,6 +148,8 @@ client_loop(volatile struct ipc_client_state *ics)
|
||||||
static void
|
static void
|
||||||
client_loop(volatile struct ipc_client_state *ics)
|
client_loop(volatile struct ipc_client_state *ics)
|
||||||
{
|
{
|
||||||
|
U_TRACE_SET_THREAD_NAME("IPC Client");
|
||||||
|
|
||||||
IPC_INFO(ics->server, "Client connected");
|
IPC_INFO(ics->server, "Client connected");
|
||||||
|
|
||||||
uint8_t buf[IPC_BUF_SIZE];
|
uint8_t buf[IPC_BUF_SIZE];
|
||||||
|
|
Loading…
Reference in a new issue