X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvlib%2Fthreads_cli.c;h=86c024798928568a133ca3788e733f5e189e637f;hb=c3a06556d1a4a63646d4cc7aa76274177a56c13f;hp=a47d86401bc1d4bb1f25b3e4483cc07eefb3fb83;hpb=904a850899db0a40bf885d2ee2e839a5f8dfbeb3;p=vpp.git diff --git a/src/vlib/threads_cli.c b/src/vlib/threads_cli.c index a47d86401bc..86c02479892 100644 --- a/src/vlib/threads_cli.c +++ b/src/vlib/threads_cli.c @@ -532,29 +532,6 @@ VLIB_CLI_COMMAND (cmd_test_frame_queue_threshold,static) = { }; /* *INDENT-ON* */ -static clib_error_t * -test_threads_barrier_elog_command_fn (vlib_main_t * vm, - unformat_input_t * input, - vlib_cli_command_t * cmd) -{ - if (unformat (input, "enable")) - vlib_worker_threads->barrier_elog_enabled = 1; - else if (unformat (input, "disable")) - vlib_worker_threads->barrier_elog_enabled = 0; - else - return clib_error_return (0, "please choose enable or disable"); - return 0; -} - -/* *INDENT-OFF* */ -VLIB_CLI_COMMAND (test_elog_vector_length_trigger, static) = -{ - .path = "test threads barrier-elog", - .short_help = "test threads barrier-elog", - .function = test_threads_barrier_elog_command_fn, -}; -/* *INDENT-ON* */ - /* * fd.io coding-style-patch-verification: ON *