mbox series

[v3,0/4] add trace points in ethdev library

Message ID 20221006151844.23483-1-adwivedi@marvell.com (mailing list archive)
Headers show
Series add trace points in ethdev library | expand

Message

Ankur Dwivedi Oct. 6, 2022, 3:18 p.m. UTC
This series adds trace points for functions in the ethdev library.
The trace points are added in ethdev, flow, mtr and tm files.

v3:
 - Moved the trace functions from EXPERIMENTAL to INTERNAL in
   version.map.
 - Moved trace functions call to the end, in ethdev and flow trace.
 - Added code to print the input value of features in
   rte_eth_trace_rx_metadata_negotiate().
 - Added code to capture return value in flow trace.

Ankur Dwivedi (4):
  ethdev: add trace points
  ethdev: add trace points for flow
  ethdev: add trace points for mtr
  ethdev: add trace points for tm

 lib/ethdev/ethdev_private.c      |    3 +
 lib/ethdev/ethdev_trace_points.c |  699 ++++++++++
 lib/ethdev/rte_ethdev.c          |  152 +++
 lib/ethdev/rte_ethdev_trace.h    | 2087 ++++++++++++++++++++++++++++++
 lib/ethdev/rte_ethdev_trace_fp.h |   19 +
 lib/ethdev/rte_flow.c            |   54 +
 lib/ethdev/rte_mtr.c             |   27 +
 lib/ethdev/rte_tm.c              |   40 +
 lib/ethdev/version.map           |  232 ++++
 9 files changed, 3313 insertions(+)