zebra: Fix tracepoint changes for lttng

The recent tracepoint additions in c317d3f246
did not properly setup the tracepoints for lttng.  Fix this.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-11-26 09:28:14 -05:00
parent 37bc1a024d
commit bcb486dd3c

View File

@ -123,6 +123,49 @@ TRACEPOINT_EVENT(
) )
) )
TRACEPOINT_EVENT(
frr_zebra,
netlink_tc_qdisc_change,
TP_ARGS(
struct nlmsghdr *, header,
ns_id_t, ns_id,
int, startup),
TP_FIELDS(
ctf_integer_hex(intptr_t, header, header)
ctf_integer(uint32_t, ns_id, ns_id)
ctf_integer(uint32_t, startup, startup)
)
)
TRACEPOINT_EVENT(
frr_zebra,
netlink_tc_class_change,
TP_ARGS(
struct nlmsghdr *, header,
ns_id_t, ns_id,
int, startup),
TP_FIELDS(
ctf_integer_hex(intptr_t, header, header)
ctf_integer(uint32_t, ns_id, ns_id)
ctf_integer(uint32_t, startup, startup)
)
)
TRACEPOINT_EVENT(
frr_zebra,
netlink_tc_filter_change,
TP_ARGS(
struct nlmsghdr *, header,
ns_id_t, ns_id,
int, startup),
TP_FIELDS(
ctf_integer_hex(intptr_t, header, header)
ctf_integer(uint32_t, ns_id, ns_id)
ctf_integer(uint32_t, startup, startup)
)
)
#include <lttng/tracepoint-event.h> #include <lttng/tracepoint-event.h>
#endif /* HAVE_LTTNG */ #endif /* HAVE_LTTNG */