Yes, you can call 'gdb_show_traces()' from gdb - but you'll need to have tracing enable beforehand of course. If that's not enough, you can enable trajectory tracing: https://git.fd.io/vpp/tree/src/vlib/buffer.h#n101 and inspect them via 'gdb_dump_trajectory_trace()'.
ben > -----Original Message----- > From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Stanislav > Zaikin > Sent: Monday, March 28, 2022 17:44 > To: vpp-dev <vpp-dev@lists.fd.io> > Subject: [vpp-dev] trace in gdb > > Hello folks, > > Is there a way to print out the trace for the packet buffer in gdb? > For me VPP crashes when a packet goes wrongly to l2-input with RX > interface without any l2 configuration. I'm using linux-cp and it looks > like the packet doesn't hit the "linux-cp-xc-ip4" node for some reason. > And what's strange is that it works for some time and only then crashes > (so tracin the packet before crash doesn't help me at all). > > I want to see what node was before l2-input. > > > -- > > Best regards > Stanislav Zaikin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21122): https://lists.fd.io/g/vpp-dev/message/21122 Mute This Topic: https://lists.fd.io/mt/90087736/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-