diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-10-06 08:59:27 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-04-20 09:43:47 -0400 |
| commit | 1239b60c06306deb14ab2e18b3d57a67c3327acf (patch) | |
| tree | 71dc69e46646343dddb27a96f18c23d9066a81bb /zebra/zebra_trace.h | |
| parent | 3cee213500c22c67803578c6c738a2177146f4ee (diff) | |
zebra: Add tracepoint for netlink_rule_change
Add a tracepoint for the netlink_rule_change function.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_trace.h')
| -rw-r--r-- | zebra/zebra_trace.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/zebra/zebra_trace.h b/zebra/zebra_trace.h index a43d4a38b7..b2983b7631 100644 --- a/zebra/zebra_trace.h +++ b/zebra/zebra_trace.h @@ -108,6 +108,21 @@ TRACEPOINT_EVENT( ctf_integer(uint32_t, startup, startup) ) ) + +TRACEPOINT_EVENT( + frr_zebra, + netlink_rule_change, + TP_ARGS( + struct nlmsghdr *, h, + ns_id_t, ns_id, + int, startup), + TP_FIELDS( + ctf_integer_hex(intptr_t, h, h) + ctf_integer(uint32_t, ns_id, ns_id) + ctf_integer(uint32_t, startup, startup) + ) + ) + #include <lttng/tracepoint-event.h> #endif /* HAVE_LTTNG */ |
