diff options
Diffstat (limited to 'src/vlib/threads_cli.c')
-rw-r--r-- | src/vlib/threads_cli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vlib/threads_cli.c b/src/vlib/threads_cli.c index f8d5d8f9ad2..02bdea5cb0f 100644 --- a/src/vlib/threads_cli.c +++ b/src/vlib/threads_cli.c @@ -15,10 +15,10 @@ #define _GNU_SOURCE #include <vppinfra/format.h> +#include <vppinfra/linux/sysfs.h> #include <vlib/vlib.h> #include <vlib/threads.h> -#include <vlib/linux/sysfs.h> #include <vlib/unix/unix.h> static u8 * @@ -98,14 +98,14 @@ show_threads_fn (vlib_main_t * vm, u8 *p = 0; p = format (p, "%s%u/topology/core_id%c", sys_cpu_path, lcore, 0); - vlib_sysfs_read ((char *) p, "%d", &core_id); + clib_sysfs_read ((char *) p, "%d", &core_id); vec_reset_length (p); p = format (p, "%s%u/topology/physical_package_id%c", sys_cpu_path, lcore, 0); - vlib_sysfs_read ((char *) p, "%d", &socket_id); + clib_sysfs_read ((char *) p, "%d", &socket_id); vec_free (p); line = format (line, "%-7u%-7u%-7u%", lcore, core_id, socket_id); |