summaryrefslogtreecommitdiff
path: root/trans/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/random.c')
-rw-r--r--trans/random.c2
1 files changed, 2 insertions, 0 deletions
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 ();