See the "api trace" debug CLI command.
For example: DBGvpp# api trace on # start tracing, typically configured in /etc/vpp/startup.com DBGvpp# bin create_loopback # create a loopback interface DBGvpp# bin sw_interface_set_flags sw_if_index 1 admin-up # set the interface admin-up DBGvpp# api trace save foo # save the binary api trace in /tmp/foo DBGvpp# api trace dump /tmp/foo # dump the trace, results below... HTH... Dave vl_api_sw_interface_dump_t: sw_if_index: 0 name_filter_valid: 0 name_filter: vl_api_control_ping_t: vl_api_sw_interface_details_t: sw_if_index: 0 sup_sw_if_index: 0 l2_address: 0000.0000.0000 flags: type: IF_API_TYPE_HARDWARE link_duplex: LINK_DUPLEX_API_UNKNOWN link_speed: 0 link_mtu: 0 mtu: 0 mtu: 0 mtu: 0 mtu: 0 sub_id: 0 sub_number_of_tags: 0 sub_outer_vlan_id: 0 sub_inner_vlan_id: 0 sub_if_flags: vtr_op: 0 vtr_push_dot1q: 0 vtr_tag1: 0 vtr_tag2: 0 outer_tag: 0 b_dmac: 0000.0000.0000 b_smac: 0000.0000.0000 b_vlanid: 0 i_sid: 0 interface_name: local0 interface_dev_type: local tag: vl_api_control_ping_reply_t: retval: 0 vpe_pid: 37668 vl_api_create_loopback_t: mac_address: 0000.0000.0000 vl_api_create_loopback_reply_t: retval: 0 sw_if_index: 1 vl_api_sw_interface_set_flags_t: sw_if_index: 1 flags: IF_STATUS_API_FLAG_ADMIN_UP vl_api_sw_interface_set_flags_reply_t: retval: 0 From: Sonia Rovner <sonia.rov...@oracle.com <mailto:sonia.rov...@oracle.com> > Sent: Thursday, December 2, 2021 5:42 PM To: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> Cc: d...@barachs.net <mailto:d...@barachs.net> Subject: View api_post_mortem files Hello, How do I view the api_post_mortem files? Regards, Sonia
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20578): https://lists.fd.io/g/vpp-dev/message/20578 Mute This Topic: https://lists.fd.io/mt/87467150/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-