summaryrefslogtreecommitdiff
path: root/zebra/zebra_trace.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-11-26 09:28:14 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2022-11-28 08:08:45 +0000
commitdfe07a821f58ff45573dd7f0e11fc46fec8aa00d (patch)
tree7c8fc2f7c6c2750453b2b531c4821d769791e71d /zebra/zebra_trace.h
parent2801239675c84e0a674d6c3905c8e6e9e9220bc7 (diff)
zebra: Fix tracepoint changes for lttng
The recent tracepoint additions in c317d3f246769e8261df0f9d1eb787bea7b5da06 did not properly setup the tracepoints for lttng. Fix this. Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit bcb486dd3cbce01dd1d9085006305cfcd738f9e8)
Diffstat (limited to 'zebra/zebra_trace.h')
-rw-r--r--zebra/zebra_trace.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/zebra/zebra_trace.h b/zebra/zebra_trace.h
index 49a0c8e793..374305fcda 100644
--- a/zebra/zebra_trace.h
+++ b/zebra/zebra_trace.h
@@ -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>
#endif /* HAVE_LTTNG */