From e58c5c5bb40c77be3bc1f0dd138d2bcea662c0d7 Mon Sep 17 00:00:00 2001 From: Xiaoming Jiang Date: Sat, 9 Oct 2021 03:10:34 +0000 Subject: perfmon: numa node list probing should use '/online' instead of '/has_cpu' Type: fix Signed-off-by: Xiaoming Jiang Change-Id: I85e41d58884af71afba960d20604bb1b01876d26 --- src/plugins/perfmon/intel/uncore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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); -- cgit 1.2.3-korg