summaryrefslogtreecommitdiffstats
path: root/src/plugins/perfmon/intel/uncore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perfmon/intel/uncore.c')
-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);