summaryrefslogtreecommitdiffstats
path: root/lib/thread.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-04-16 14:23:20 +0200
committerGitHub <noreply@github.com>2021-04-16 14:23:20 +0200
commit861ea6f2682f0ed1f3f4ea4fbb70bdb09a2ca536 (patch)
tree702ee2ba51664caeca828aa4d9d211b87accfe02 /lib/thread.c
parentMerge pull request #8483 from opensourcerouting/asan-fix (diff)
parentpython: add demo checker tool using frr.xref (diff)
downloadfrr-861ea6f2682f0ed1f3f4ea4fbb70bdb09a2ca536.tar.xz
frr-861ea6f2682f0ed1f3f4ea4fbb70bdb09a2ca536.zip
Merge pull request #8465 from opensourcerouting/vtysh-scan-snafu
fix vtysh_scan SNAFUs
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/thread.c b/lib/thread.c
index 567516300..3d8b54467 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -307,13 +307,13 @@ static uint8_t parse_filter(const char *filterstr)
}
#ifndef EXCLUDE_CPU_TIME
-DEFUN (show_thread_cpu,
- show_thread_cpu_cmd,
- "show thread cpu [FILTER]",
- SHOW_STR
- "Thread information\n"
- "Thread CPU usage\n"
- "Display filter (rwtex)\n")
+DEFUN_NOSH (show_thread_cpu,
+ show_thread_cpu_cmd,
+ "show thread cpu [FILTER]",
+ SHOW_STR
+ "Thread information\n"
+ "Thread CPU usage\n"
+ "Display filter (rwtex)\n")
{
uint8_t filter = (uint8_t)-1U;
int idx = 0;
@@ -374,12 +374,12 @@ static void show_thread_poll_helper(struct vty *vty, struct thread_master *m)
}
}
-DEFUN (show_thread_poll,
- show_thread_poll_cmd,
- "show thread poll",
- SHOW_STR
- "Thread information\n"
- "Show poll FD's and information\n")
+DEFUN_NOSH (show_thread_poll,
+ show_thread_poll_cmd,
+ "show thread poll",
+ SHOW_STR
+ "Thread information\n"
+ "Show poll FD's and information\n")
{
struct listnode *node;
struct thread_master *m;