summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_trace.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-09-16 02:13:36 +0200
committerQuentin Young <qlyoung@nvidia.com>2020-10-23 21:13:51 +0200
commitd9a03c5736f808846750c72b4b58a977f70885c6 (patch)
tree2a8c5fb401ceac692fb83a31c9799f71168317bc /bgpd/bgp_trace.c
parentlib: add tracepoints for pthread run, stop (diff)
downloadfrr-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.c4
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"