[PATCH 0/6] add trace points in ethdev library
Ankur Dwivedi
adwivedi at marvell.com
Thu Aug 4 15:44:24 CEST 2022
This series adds trace points for functions in the ethdev library.
The trace points are added in ethdev, flow, mtr, tm and ethdev_driver
files.
Apart from the tracepoints, check-trace-func function is added in
checkpatch script. The function checks if any new api is added in
ethdev library, then it must have a tracepoint. Otherwise an error
will be returned by checkpatch.
Adding the ethdev library maintainers and all networking driver
maintainers in the cc list of this patch series, for review.
Ankur Dwivedi (6):
ethdev: add trace points
ethdev: add trace points for flow
ethdev: add trace points for mtr
ethdev: add trace points for tm
ethdev: add trace points for driver
devtools: add trace function check in checkpatch
devtools/check-symbol-change.sh | 76 +-
devtools/check-trace-func.py | 52 +
devtools/check-trace-func.sh | 50 +
devtools/checkpatches.sh | 9 +
devtools/common-func.sh | 77 +
lib/ethdev/ethdev_driver.c | 29 +
lib/ethdev/ethdev_private.c | 5 +
lib/ethdev/ethdev_trace_points.c | 768 ++++++++++
lib/ethdev/rte_ethdev.c | 150 ++
lib/ethdev/rte_ethdev_trace.h | 2246 ++++++++++++++++++++++++++++++
lib/ethdev/rte_flow.c | 54 +
lib/ethdev/rte_mtr.c | 27 +
lib/ethdev/rte_tm.c | 40 +
lib/ethdev/version.map | 257 ++++
14 files changed, 3766 insertions(+), 74 deletions(-)
create mode 100755 devtools/check-trace-func.py
create mode 100755 devtools/check-trace-func.sh
create mode 100644 devtools/common-func.sh
--
2.28.0
More information about the dev
mailing list