summaryrefslogtreecommitdiff
path: root/zebra/zebra_trace.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-10-06 08:34:35 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-04-20 09:43:47 -0400
commit097ef2afd12608e6297eb4d13956ffdb10de7930 (patch)
tree0ca40e4eba00d3d27ebe6b71a35cc79c1136459a /zebra/zebra_trace.h
parentd42e61420aa85283b7b7e87736116e183801c302 (diff)
zebra: Add netlink_request_intf_addr tracepoint
Add a tracepoint for the netlink_request_intf_addr function. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_trace.h')
-rw-r--r--zebra/zebra_trace.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/zebra/zebra_trace.h b/zebra/zebra_trace.h
index 14be95dca4..3175c1a124 100644
--- a/zebra/zebra_trace.h
+++ b/zebra/zebra_trace.h
@@ -36,6 +36,23 @@
#include <lib/ns.h>
#include <lib/table.h>
+#include <zebra/zebra_ns.h>
+
+TRACEPOINT_EVENT(
+ frr_zebra,
+ netlink_request_intf_addr,
+ TP_ARGS(struct nlsock *, netlink_cmd,
+ int, family,
+ int, type,
+ uint32_t, filter_mask),
+ TP_FIELDS(
+ ctf_integer_hex(intptr_t, netlink_cmd, netlink_cmd)
+ ctf_integer(int, family, family)
+ ctf_integer(int, type, type)
+ ctf_integer(uint32_t, filter_mask, filter_mask)
+ )
+ )
+
TRACEPOINT_EVENT(
frr_zebra,
netlink_interface,