diff options
author | Damjan Marion <damarion@cisco.com> | 2020-11-23 16:50:24 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2020-11-23 17:02:46 +0100 |
commit | 2cdb301678b3ba26331a9bc63ca1ab7af131e281 (patch) | |
tree | 6a18f27a6f83aa45eead6ef4258f9f734d143411 /src/vlib/format_funcs.h | |
parent | d1bd5d26cc2c0258865f4a7a4cbb4a447f42e74f (diff) |
vlib: add format_vlib_thread_name
Type: improvement
Change-Id: I2231f8e32964868ff6ef154b8ef431d99643c6a5
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/format_funcs.h')
-rw-r--r-- | src/vlib/format_funcs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vlib/format_funcs.h b/src/vlib/format_funcs.h index 30e919d7e96..4e22625c9a9 100644 --- a/src/vlib/format_funcs.h +++ b/src/vlib/format_funcs.h @@ -47,6 +47,12 @@ u8 *format_vlib_read_write (u8 * s, va_list * args); /* Formats buffer data as printable ascii or as hex. */ u8 *format_vlib_buffer_data (u8 * s, va_list * args); +/* Formats thread name */ +u8 *format_vlib_thread_name (u8 * s, va_list * args); + +/* Formats thread name and thread index */ +u8 *format_vlib_thread_name_and_index (u8 * s, va_list * args); + /* Enable/on => 1; disable/off => 0. */ uword unformat_vlib_enable_disable (unformat_input_t * input, va_list * args); |