Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
thread: Add show threads api
[vpp.git]
/
src
/
vlib
/
node_cli.c
diff --git
a/src/vlib/node_cli.c
b/src/vlib/node_cli.c
index
3dbf672
..
00199d9
100644
(file)
--- 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);
}