aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/format_funcs.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-01-21 17:41:25 +0100
committerDamjan Marion <dmarion@me.com>2019-01-31 22:08:54 +0000
commit362456a9bdc5ffc440bf776c3685ba81b8513f6e (patch)
treedb06209bef7bd0fbf5dceb94c2126a782f369040 /src/vlib/format_funcs.h
parent35467f112acb21fe1ea287c7d8794b0859f149c0 (diff)
Add 'show vlib graphviz' command
Add a new command to dump vlib graph as graphviz/dot file Change-Id: I43fc072cff8153ac500e5fbc6641a3705c2e995e Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vlib/format_funcs.h')
-rw-r--r--src/vlib/format_funcs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vlib/format_funcs.h b/src/vlib/format_funcs.h
index f60b8940d14..30e919d7e96 100644
--- a/src/vlib/format_funcs.h
+++ b/src/vlib/format_funcs.h
@@ -59,6 +59,9 @@ uword unformat_vlib_number_by_name (unformat_input_t * input, va_list * args);
/* Parse an int either %d or 0x%x. */
uword unformat_vlib_number (unformat_input_t * input, va_list * args);
+/* Parse a filename to dump debug info */
+uword unformat_vlib_tmpfile (unformat_input_t * input, va_list * args);
+
/* Flag to format_vlib_*_header functions to tell them not to recurse
into the next layer's header. For example, tells format_vlib_ethernet_header
not to format ip header. */