From 883af6aa527c4d0b43adc99c19e1cbb53153a7a0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 8 Feb 2025 21:25:55 +0100 Subject: Add names to threads --- trans/random.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trans/random.c') diff --git a/trans/random.c b/trans/random.c index 7e3d3eba..5142cb15 100644 --- a/trans/random.c +++ b/trans/random.c @@ -248,6 +248,8 @@ gather_vm_cache_statistics (void) static void * gather_thread (void *args) { + pthread_setname_np (pthread_self (), "gather"); + while (1) { gather_slab_info (); -- cgit v1.2.3