diff options
author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2025-01-09 16:01:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 16:01:33 +0100 |
commit | 465d286819fe532bd4ff33ee20e7127672e9d07b (patch) | |
tree | 0878ac545bd014bfba45438fd25fbe4412caae6b /lib | |
parent | Merge pull request #17795 from gromit1811/bugfix_priv_syscaps_alloc (diff) | |
parent | libs: remove deprecated 'clear thread' cli (diff) | |
download | frr-465d286819fe532bd4ff33ee20e7127672e9d07b.tar.xz frr-465d286819fe532bd4ff33ee20e7127672e9d07b.zip |
Merge pull request #17798 from mjstapp/fix_remove_clear_thread
libs: remove deprecated 'clear thread' cli
Diffstat (limited to 'lib')
-rw-r--r-- | lib/event.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/event.c b/lib/event.c index cfe8c3adc..d95b3021a 100644 --- a/lib/event.c +++ b/lib/event.c @@ -429,9 +429,6 @@ DEFUN_NOSH (show_event_poll, return CMD_SUCCESS; } -#if CONFDATE > 20241231 -CPP_NOTICE("Remove `clear thread cpu` command") -#endif DEFUN (clear_event_cpu, clear_event_cpu_cmd, "clear event cpu [FILTER]", @@ -457,14 +454,6 @@ DEFUN (clear_event_cpu, return CMD_SUCCESS; } -ALIAS (clear_event_cpu, - clear_thread_cpu_cmd, - "clear thread cpu [FILTER]", - "Clear stored data in all pthreads\n" - "Thread information\n" - "Thread CPU usage\n" - "Display filter (rwtexb)\n") - static void show_event_timers_helper(struct vty *vty, struct event_loop *m) { const char *name = m->name ? m->name : "main"; @@ -504,7 +493,6 @@ void event_cmd_init(void) { install_element(VIEW_NODE, &show_event_cpu_cmd); install_element(VIEW_NODE, &show_event_poll_cmd); - install_element(ENABLE_NODE, &clear_thread_cpu_cmd); install_element(ENABLE_NODE, &clear_event_cpu_cmd); install_element(CONFIG_NODE, &service_cputime_stats_cmd); |