diff options
Diffstat (limited to 'bgpd/bgp_trace.h')
| -rw-r--r-- | bgpd/bgp_trace.h | 25 | 
1 files changed, 25 insertions, 0 deletions
diff --git a/bgpd/bgp_trace.h b/bgpd/bgp_trace.h index 8bc513009d..303e06c9c9 100644 --- a/bgpd/bgp_trace.h +++ b/bgpd/bgp_trace.h @@ -218,6 +218,31 @@ TRACEPOINT_EVENT(  TRACEPOINT_LOGLEVEL(frr_bgp, bmp_process, TRACE_DEBUG) +/* + * bgp_dest_lock/bgp_dest_unlock + */ +TRACEPOINT_EVENT( +	frr_bgp, +	bgp_dest_lock, +	TP_ARGS(struct bgp_dest *, dest), +	TP_FIELDS( +		ctf_string(prefix, bgp_dest_get_prefix_str(dest)) +		ctf_integer(unsigned int, count, bgp_dest_get_lock_count(dest)) +	) +) +TRACEPOINT_LOGLEVEL(frr_bgp, bgp_dest_lock, TRACE_INFO) + +TRACEPOINT_EVENT( +	frr_bgp, +	bgp_dest_unlock, +	TP_ARGS(struct bgp_dest *, dest), +	TP_FIELDS( +		ctf_string(prefix, bgp_dest_get_prefix_str(dest)) +		ctf_integer(unsigned int, count, bgp_dest_get_lock_count(dest)) +	) +) +TRACEPOINT_LOGLEVEL(frr_bgp, bgp_dest_unlock, TRACE_INFO) +  /* clang-format on */  #include <lttng/tracepoint-event.h>  | 
