aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorXiaoming Jiang <jiangxiaoming@outlook.com>2021-10-09 03:10:34 +0000
committerDamjan Marion <dmarion@me.com>2021-11-07 04:01:17 +0000
commite58c5c5bb40c77be3bc1f0dd138d2bcea662c0d7 (patch)
treec55c83a6379dcb37d08c09ee9e7db346d9656dcf /src/plugins
parent957d85058fd3ff6e760e244bff97f05407cb14f6 (diff)
perfmon: numa node list probing should use '/online' instead of '/has_cpu'
Type: fix Signed-off-by: Xiaoming Jiang <jiangxiaoming@outlook.com> Change-Id: I85e41d58884af71afba960d20604bb1b01876d26
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/perfmon/intel/uncore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfmon/intel/uncore.c b/src/plugins/perfmon/intel/uncore.c
index ec31fac75c0..8246bb13c61 100644
--- a/src/plugins/perfmon/intel/uncore.c
+++ b/src/plugins/perfmon/intel/uncore.c
@@ -147,7 +147,7 @@ intel_uncore_init (vlib_main_t *vm, perfmon_source_t *src)
u32 i, j;
u8 *s = 0;
- if ((err = clib_sysfs_read ("/sys/devices/system/node/has_cpu", "%U",
+ if ((err = clib_sysfs_read ("/sys/devices/system/node/online", "%U",
unformat_bitmap_list, &node_bitmap)))
{
clib_error_free (err);