aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/node_cli.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2018-09-11 20:27:09 +0200
committerDamjan Marion <dmarion@me.com>2018-10-01 09:44:58 +0000
commit5d64c7868f67749a6c99eb4ee5998b518ab6c71c (patch)
tree57ce487477ddb12dddeb21340ad875328f2ea5a0 /src/vlib/node_cli.c
parent28c142e3dedc0b136003f33f67243bf3c1873b71 (diff)
thread: Add show threads api
Change-Id: I3124238ab4d43bcef5590bad33a4ff0b5d8b7d15 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vlib/node_cli.c')
-rw-r--r--src/vlib/node_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/node_cli.c b/src/vlib/node_cli.c
index 3dbf672d441..00199d999d1 100644
--- a/src/vlib/node_cli.c
+++ b/src/vlib/node_cli.c
@@ -345,9 +345,9 @@ show_node_runtime (vlib_main_t * vm,
if (j > 0)
vlib_cli_output (vm, "---------------");
- if (w->lcore_id > -1)
+ if (w->cpu_id > -1)
vlib_cli_output (vm, "Thread %d %s (lcore %u)", j, w->name,
- w->lcore_id);
+ w->cpu_id);
else
vlib_cli_output (vm, "Thread %d %s", j, w->name);
}