char buf[256];
} req;
+ frrtrace(4, frr_zebra, netlink_request_intf_addr, netlink_cmd, family,
+ type, filter_mask);
+
/* Form the request, specifying filter (rtattr) if needed. */
memset(&req, 0, sizeof(req));
req.n.nlmsg_type = type;
#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,