]> git.proxmox.com Git - mirror_ovs.git/commit
utilities: Add smap related command and iterator to the GDB script
authorEelco Chaudron <echaudro@redhat.com>
Thu, 22 Nov 2018 15:18:14 +0000 (16:18 +0100)
committerBen Pfaff <blp@ovn.org>
Wed, 12 Dec 2018 16:40:55 +0000 (08:40 -0800)
commitcd5b89a5a99c3ead973b168326eaef47d4e4c077
treea9f49c4144e35107273b0edf491dd17060affb26
parentb1331295eaada5bc0e3bcd7e3b964003af3273d6
utilities: Add smap related command and iterator to the GDB script

Adds "ovs_dump_smap <struct smap *>" command

Example output:

Breakpoint 1, trtcm_policer_qos_construct (details=0x135bad0, conf=0x7ffd31f5da28) at lib/netdev-dpdk.c:4154
(gdb) ovs_dump_smap 0x135bad0
cbs: 2048
cir: 151800
eir: 151800
pbs: 2048

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/gdb/ovs_gdb.py