mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:27:42 +00:00
lib, vtysh: Removed deprecated aliases for show thread ...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
66de92184f
commit
f46ce043fc
28
lib/event.c
28
lib/event.c
@ -304,9 +304,6 @@ static uint8_t parse_filter(const char *filterstr)
|
|||||||
return filter;
|
return filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFDATE > 20240707
|
|
||||||
CPP_NOTICE("Remove `show thread ...` commands")
|
|
||||||
#endif
|
|
||||||
DEFUN_NOSH (show_event_cpu,
|
DEFUN_NOSH (show_event_cpu,
|
||||||
show_event_cpu_cmd,
|
show_event_cpu_cmd,
|
||||||
"show event cpu [FILTER]",
|
"show event cpu [FILTER]",
|
||||||
@ -332,14 +329,6 @@ DEFUN_NOSH (show_event_cpu,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALIAS(show_event_cpu,
|
|
||||||
show_thread_cpu_cmd,
|
|
||||||
"show thread cpu [FILTER]",
|
|
||||||
SHOW_STR
|
|
||||||
"Thread information\n"
|
|
||||||
"Thread CPU usage\n"
|
|
||||||
"Display filter (rwtex)\n")
|
|
||||||
|
|
||||||
DEFPY (service_cputime_stats,
|
DEFPY (service_cputime_stats,
|
||||||
service_cputime_stats_cmd,
|
service_cputime_stats_cmd,
|
||||||
"[no] service cputime-stats",
|
"[no] service cputime-stats",
|
||||||
@ -440,13 +429,6 @@ DEFUN_NOSH (show_event_poll,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALIAS(show_event_poll,
|
|
||||||
show_thread_poll_cmd,
|
|
||||||
"show thread poll",
|
|
||||||
SHOW_STR
|
|
||||||
"Thread information\n"
|
|
||||||
"Show poll FD's and information\n")
|
|
||||||
|
|
||||||
DEFUN (clear_thread_cpu,
|
DEFUN (clear_thread_cpu,
|
||||||
clear_thread_cpu_cmd,
|
clear_thread_cpu_cmd,
|
||||||
"clear thread cpu [FILTER]",
|
"clear thread cpu [FILTER]",
|
||||||
@ -507,18 +489,9 @@ DEFPY_NOSH (show_event_timers,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALIAS(show_event_timers,
|
|
||||||
show_thread_timers_cmd,
|
|
||||||
"show thread timers",
|
|
||||||
SHOW_STR
|
|
||||||
"Thread information\n"
|
|
||||||
"Show all timers and how long they have in the system\n")
|
|
||||||
|
|
||||||
void event_cmd_init(void)
|
void event_cmd_init(void)
|
||||||
{
|
{
|
||||||
install_element(VIEW_NODE, &show_thread_cpu_cmd);
|
|
||||||
install_element(VIEW_NODE, &show_event_cpu_cmd);
|
install_element(VIEW_NODE, &show_event_cpu_cmd);
|
||||||
install_element(VIEW_NODE, &show_thread_poll_cmd);
|
|
||||||
install_element(VIEW_NODE, &show_event_poll_cmd);
|
install_element(VIEW_NODE, &show_event_poll_cmd);
|
||||||
install_element(ENABLE_NODE, &clear_thread_cpu_cmd);
|
install_element(ENABLE_NODE, &clear_thread_cpu_cmd);
|
||||||
|
|
||||||
@ -526,7 +499,6 @@ void event_cmd_init(void)
|
|||||||
install_element(CONFIG_NODE, &service_cputime_warning_cmd);
|
install_element(CONFIG_NODE, &service_cputime_warning_cmd);
|
||||||
install_element(CONFIG_NODE, &service_walltime_warning_cmd);
|
install_element(CONFIG_NODE, &service_walltime_warning_cmd);
|
||||||
|
|
||||||
install_element(VIEW_NODE, &show_thread_timers_cmd);
|
|
||||||
install_element(VIEW_NODE, &show_event_timers_cmd);
|
install_element(VIEW_NODE, &show_event_timers_cmd);
|
||||||
}
|
}
|
||||||
/* CLI end ------------------------------------------------------------------ */
|
/* CLI end ------------------------------------------------------------------ */
|
||||||
|
@ -2988,9 +2988,6 @@ static int show_one_daemon(struct vty *vty, struct cmd_token **argv, int argc,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFDATE > 20240707
|
|
||||||
CPP_NOTICE("Remove `show thread ...` commands")
|
|
||||||
#endif
|
|
||||||
DEFUN (vtysh_show_event_timer,
|
DEFUN (vtysh_show_event_timer,
|
||||||
vtysh_show_event_timer_cmd,
|
vtysh_show_event_timer_cmd,
|
||||||
"show event timers",
|
"show event timers",
|
||||||
|
Loading…
Reference in New Issue
Block a user