And… tracing can usually be turned on at any of the packet driver input nodes (i.e. dpdk-input, af-packet-input) and some of the nodes that generate packets internally, like ping. The magic to grok from in the code base is: VLIB_BUFFER_TRACE_TRAJECTORY_INIT (b0); Indicating that this node can be used in a ‘trace add <NODE> X’ statement.
/neale -----Original Message----- From: <[email protected]> on behalf of "Kinsella, Ray" <[email protected]> Date: Thursday, 26 October 2017 at 08:10 To: "[email protected]" <[email protected]> Subject: Re: [vpp-dev] What can be traced? 10 is how many frame to capture in the trace. Ray K On 25/10/2017 23:09, John Wei wrote: > > *vppctl trace add* af-packet-input 10 > was mentioned in this write up: > https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial#Action:_Add_trace > > Is there write-up on > - list of things that we can turn on tracing? > - what is the number "10" means? > > John > > > > > > > _______________________________________________ > vpp-dev mailing list > [email protected] > https://lists.fd.io/mailman/listinfo/vpp-dev _______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev _______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
