blob: 9d120ed9cab6958f8c8d99a66254ab76796ef1b6 [file] [log] [blame]
Scott Keeler6c892302018-10-26 09:12:15 -04001.. _interface:
2
3.. toctree::
4
5.. note:: For a complete list of CLI Debug commands refer to the Debug CLI section of the `Source Code Documents <https://docs.fd.io/vpp/18.07/clicmd.html>`_ .
6
7
8API Trace
9===========
10
11Summary/Usage
12--------------
13
14api trace [on|off][first <*n*>][last <*n*>][status][free][post-mortem-on][dump|custom-dump|save|replay <*file*>]
15
16Description
17------------
18
19Display, replay, or save a binary API trace.
20
21Declaration and Implementation
22-------------------------------
23
24**Declaration:** api_trace_command (src/vlibmemory/vlib_api_cli.c line 783)
25
26**Implementation:** api_trace_command_fn
27
28Clear Trace
29=============
30
31Summary/Usage
32--------------
33Clear trace buffer and free memory.
34Declaration and implementation
35
36**Declaration:** clear_trace_cli (src/vlib/trace.c line 519)
37
38**Implementation:** cli_clear_trace_buffer
39
40Show Trace
41===========
42
43`Show Trace <../show/show.html#show-trace>`_
44
45Trace Add
46===========
47
48Summary/Usage
49--------------
50
51Trace given number of packets.
52
53Declaration and Implementation
54-------------------------------
55
56**Declaration:** add_trace_cli (src/vlib/trace.c line 405)
57
Scott Keeler70f28fc2018-10-23 15:16:46 -040058**Implementation:** cli_add_trace_buffer