diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-10-06 08:49:58 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-04-20 09:43:47 -0400 | 
| commit | 1d80c20919dff2a0abbb0087b3cca957587406d5 (patch) | |
| tree | 453bbf569ee849bfc86419be682658ba3f5391ef /zebra/zebra_trace.h | |
| parent | 097ef2afd12608e6297eb4d13956ffdb10de7930 (diff) | |
zebra: Add netlink_nexthop_change tracepoint
Add a tracepoint for the netlink_nexthop_change function.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_trace.h')
| -rw-r--r-- | zebra/zebra_trace.h | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/zebra/zebra_trace.h b/zebra/zebra_trace.h index 3175c1a124..d5c8287f00 100644 --- a/zebra/zebra_trace.h +++ b/zebra/zebra_trace.h @@ -67,6 +67,20 @@ TRACEPOINT_EVENT(  		)  	) +TRACEPOINT_EVENT( +	frr_zebra, +	netlink_nexthop_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 */  | 
