From 7cc56c1a4a295d34f25ddbb349998262d4240e36 Mon Sep 17 00:00:00 2001
From: Ali Mohammed <ali.mohammed@hpe.com>
Date: Thu, 26 Jan 2023 10:33:21 +0100
Subject: [PATCH] print numa node of a thread as well

---
 maestro/i_maestro_numa.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/maestro/i_maestro_numa.h b/maestro/i_maestro_numa.h
index beb86f06..5a422efb 100644
--- a/maestro/i_maestro_numa.h
+++ b/maestro/i_maestro_numa.h
@@ -250,6 +250,7 @@ mstro_numa_bind_thread(char *tidprefix)
                         struct bitmask *nodemask = numa_allocate_cpumask();
                         numa_bitmask_setbit(nodemask, numa_node);
                         numa_set_membind(nodemask);
+                        LOG_INFO(MSTRO_LOG_MODULE_CORE, "%s thread is bound to memory node %d\n", tidprefix, numa_node);
                         numa_free_cpumask(nodemask);
                         status = MSTRO_OK;
                 }
-- 
GitLab