From 021936b4294fc6ad46124abc1b2b9424c3f598de Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Tue, 10 Oct 2023 20:58:49 +0200 Subject: [PATCH] thread: add trace thread name logging --- src/thread/thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/thread/thread.c b/src/thread/thread.c index 559df5f07..c3e16af8e 100644 --- a/src/thread/thread.c +++ b/src/thread/thread.c @@ -2,6 +2,7 @@ #include #include #include +#include #ifdef HAVE_PRCTL #include #endif @@ -97,6 +98,7 @@ static int handler(void *p) (void)pthread_setname_np(*th.thr, th.name); #endif #endif + RE_TRACE_THREAD_NAME(th.name); return th.func(th.arg); }