mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 07:35:33 +00:00
doc: Format highlighted syntax properly for Systemtap examples
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
68009c04f3
commit
ccc1af3998
@ -178,6 +178,7 @@ To see available SystemTap USDT probes, run::
|
||||
stap -L 'process("/usr/lib/frr/bgpd").mark("*")'
|
||||
|
||||
Example::
|
||||
|
||||
root@host ~> stap -L 'process("/usr/lib/frr/bgpd").mark("*")'
|
||||
process("/usr/lib/frr/bgpd").mark("capability_process") $arg1:long $arg2:long
|
||||
process("/usr/lib/frr/bgpd").mark("input_filter") $arg1:long $arg2:long $arg3:long $arg4:long $arg5:long
|
||||
@ -194,7 +195,7 @@ When using SystemTap, you can also easily attach to an existing function::
|
||||
|
||||
stap -L 'process("/usr/lib/frr/bgpd").function("bgp_update_receive")'
|
||||
|
||||
Example:
|
||||
Example::
|
||||
|
||||
root@host ~> stap -L 'process("/usr/lib/frr/bgpd").function("bgp_update_receive")'
|
||||
process("/usr/lib/frr/bgpd").function("bgp_update_receive@bgpd/bgp_packet.c:1531") $peer:struct peer* $size:bgp_size_t $attr:struct attr $restart:_Bool $nlris:struct bgp_nlri[] $__func__:char const[] const
|
||||
|
Loading…
Reference in New Issue
Block a user