blob: 927342fa3d7d49e0589813ca0dfdce1e8ab3ba2d [file] [log] [blame]
Filip Tehlar36217e32021-07-23 08:51:10 +00001.. _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 [tx][on|off][first <n>][last <n>][status][free]
15 [post-mortem-on][dump|dump-file|dump-json|save|tojson|save-json|replay <file>][nitems <n>][initializers <file>]
16
17Description
18------------
19
20Display, replay, or save a binary API trace.
21
22Declaration and Implementation
23-------------------------------
24
25**Declaration:** api_trace_command (src/vlibmemory/vlib_api_cli.c line 783)
26
27**Implementation:** api_trace_command_fn
28
29Clear Trace
30=============
31
32Summary/Usage
33--------------
34Clear trace buffer and free memory.
35Declaration and implementation
36
37**Declaration:** clear_trace_cli (src/vlib/trace.c line 519)
38
39**Implementation:** cli_clear_trace_buffer
40
41Show Trace
42===========
43
44`Show Trace <../show/show.html#show-trace>`_
45
46Trace Add
47===========
48
49Summary/Usage
50--------------
51
52Trace given number of packets.
53
54Declaration and Implementation
55-------------------------------
56
57**Declaration:** add_trace_cli (src/vlib/trace.c line 405)
58
59**Implementation:** cli_add_trace_buffer