[ovs-git] [openvswitch/ovs] cda22c: Utilities: make print() in gdb script work on all ...
Eelco Chaudron
noreply at github.com
Sat Apr 25 15:12:36 UTC 2020
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: cda22c659e953c75b4c3c6e7bcfa0e37bbe48967
https://github.com/openvswitch/ovs/commit/cda22c659e953c75b4c3c6e7bcfa0e37bbe48967
Author: Eelco Chaudron <echaudro at redhat.com>
Date: 2020-04-21 (Tue, 21 Apr 2020)
Changed paths:
M utilities/gdb/ovs_gdb.py
Log Message:
-----------
Utilities: make print() in gdb script work on all version of Python
Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: William Tu <u9012063 at gmail.com>
Commit: eb8fd61d91866032118fa3f63e022d007d812626
https://github.com/openvswitch/ovs/commit/eb8fd61d91866032118fa3f63e022d007d812626
Author: Eelco Chaudron <echaudro at redhat.com>
Date: 2020-04-25 (Sat, 25 Apr 2020)
Changed paths:
M utilities/gdb/ovs_gdb.py
Log Message:
-----------
Utilities: Add the ovs_dump_ofpacts command to gdb
This adds the ovs_dump_ifpacts command:
(gdb) help ovs_dump_ofpacts
Dump all actions in an ofpacts set
Usage: ovs_dump_ofpacts <struct ofpact *> <ofpacts_len>
<struct ofpact *> : Pointer to set of ofpact structures.
<ofpacts_len> : Total length of the set.
Example dumping all actions when in the clone_xlate_actions() function:
(gdb) ovs_dump_ofpacts actions actions_len
(struct ofpact *) 0x561c7be487c8: {type = OFPACT_SET_FIELD, raw = 255 '', len = 24}
(struct ofpact *) 0x561c7be487e0: {type = OFPACT_SET_FIELD, raw = 255 '', len = 24}
(struct ofpact *) 0x561c7be487f8: {type = OFPACT_SET_FIELD, raw = 255 '', len = 24}
(struct ofpact *) 0x561c7be48810: {type = OFPACT_SET_FIELD, raw = 255 '', len = 32}
(struct ofpact *) 0x561c7be48830: {type = OFPACT_SET_FIELD, raw = 255 '', len = 24}
(struct ofpact *) 0x561c7be48848: {type = OFPACT_RESUBMIT, raw = 38 '&', len = 16}
Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: William Tu <u9012063 at gmail.com>
Compare: https://github.com/openvswitch/ovs/compare/925511592a4e...eb8fd61d9186
More information about the git
mailing list