diff options
author | Quentin Young <qlyoung@nvidia.com> | 2020-09-16 02:13:36 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@nvidia.com> | 2020-10-23 21:13:51 +0200 |
commit | d9a03c5736f808846750c72b4b58a977f70885c6 (patch) | |
tree | 2a8c5fb401ceac692fb83a31c9799f71168317bc /bgpd/bgp_trace.c | |
parent | lib: add tracepoints for pthread run, stop (diff) | |
download | frr-d9a03c5736f808846750c72b4b58a977f70885c6.tar.xz frr-d9a03c5736f808846750c72b4b58a977f70885c6.zip |
bgpd: add basic packet-related tracepoints
Add tracepoints for:
- packet pushed to internal rx queue
- packet dequeued from rx queue and processed
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'bgpd/bgp_trace.c')
-rw-r--r-- | bgpd/bgp_trace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_trace.c b/bgpd/bgp_trace.c new file mode 100644 index 000000000..2ebc63b6b --- /dev/null +++ b/bgpd/bgp_trace.c @@ -0,0 +1,4 @@ +#define TRACEPOINT_CREATE_PROBES +#define TRACEPOINT_DEFINE + +#include "bgp_trace.h" |