summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-09-17 07:25:35 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-17 07:25:35 -0400
commit49d41a26c649aa3a098c4316262adcabc7bb840c (patch)
tree98287d4822e0bcc6986e9b9045b75af33bae37de /lib/thread.c
parent3176e70c104bd26d5fef587f9ed54dd4e9e7cac9 (diff)
isisd, lib, vtysh: Allow extract.pl to fully work
The regular expression for finding DEFUN/ALIAS in extract.pl looks for "DEFUN (" or "ALIAS (" if the *.c file does not have this then it will just silently ignore the cli. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/thread.c b/lib/thread.c
index a128786c3d..573e9f725d 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -287,13 +287,13 @@ cpu_record_print(struct vty *vty, thread_type filter)
vty_out_cpu_thread_history(vty, &tmp);
}
-DEFUN(show_thread_cpu,
- show_thread_cpu_cmd,
- "show thread cpu [FILTER]",
- SHOW_STR
- "Thread information\n"
- "Thread CPU usage\n"
- "Display filter (rwtexb)\n")
+DEFUN (show_thread_cpu,
+ show_thread_cpu_cmd,
+ "show thread cpu [FILTER]",
+ SHOW_STR
+ "Thread information\n"
+ "Thread CPU usage\n"
+ "Display filter (rwtexb)\n")
{
int i = 0;
thread_type filter = (thread_type) -1U;
@@ -369,13 +369,13 @@ cpu_record_clear (thread_type filter)
tmp);
}
-DEFUN(clear_thread_cpu,
- clear_thread_cpu_cmd,
- "clear thread cpu [FILTER]",
- "Clear stored data\n"
- "Thread information\n"
- "Thread CPU usage\n"
- "Display filter (rwtexb)\n")
+DEFUN (clear_thread_cpu,
+ clear_thread_cpu_cmd,
+ "clear thread cpu [FILTER]",
+ "Clear stored data\n"
+ "Thread information\n"
+ "Thread CPU usage\n"
+ "Display filter (rwtexb)\n")
{
int i = 0;
thread_type filter = (thread_type) -1U;