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: <vpp-dev-boun...@lists.fd.io> on behalf of "Kinsella, Ray" 
<m...@ashroe.eu>
Date: Thursday, 26 October 2017 at 08:10
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
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
    > vpp-dev@lists.fd.io
    > https://lists.fd.io/mailman/listinfo/vpp-dev
    
    _______________________________________________
    vpp-dev mailing list
    vpp-dev@lists.fd.io
    https://lists.fd.io/mailman/listinfo/vpp-dev

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to