Skip to content

devtools: add tracepoint check in checkpatch

Ankur Dwivedi dpdk-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 8 repliesIn review
  2. v51 patch 15 repliesSuperseded
  3. v42 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches1 replySuperseded
v21 patch3 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v6 from the cover letter

- The build_map_changes function is moved from check-symbol-change.sh to a new symbol-map-util.sh file. This function can be used in other scripts by including symbol-map-util.sh file.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2devtools: move build map changes functiondevtools/check-symbol-change.sh devtools/symbol-map-util.sh+80 -740 replies
2/2devtools: add tracepoint check in checkpatchdevtools/check-tracepoint.sh devtools/checkpatches.sh devtools/trace-skiplist.txt+157 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen Hemminger
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] devtools: add tracepoint check in checkpatch

This patch series adds a validation in checkpatch tool to check if tracepoint is present in any new function added in ethdev, eventdev cryptodev and mempool library.

v6:
- The build_map_changes function is moved from check-symbol-change.sh to a new symbol-map-util.sh file. This function can be used in other scripts by including symbol-map-util.sh file.

v5:
- Copied the build_map_changes function from check-symbol-change.sh to check-tracepoint.sh.
- Added eventdev, cryptodev and mempool in libdir in check-tracepoint.sh.

v4:
- Rebased on the recent next-net branch.
- Refined logic to find function definition.
- Updated year in the license in devtools/check-tracepoint.sh.
- Removed cryptodev, added ethdev in libdir in devtools/check-tracepoint.sh.

v3:
- Split the v2 patch into 2 patches.
- The file common-func.sh is renamed to build-symbol-map.sh.
- Removed check-tracepoint.py file.
- Code improvements in check-tracepoint.sh.

v2:
- Add check for parent directory.

Ankur Dwivedi (2):
devtools: move build map changes function
devtools: add tracepoint check in checkpatch

 devtools/check-symbol-change.sh |  76 +---------------
 devtools/check-tracepoint.sh    | 148 ++++++++++++++++++++++++++++++++
 devtools/checkpatches.sh        |   9 ++
 devtools/symbol-map-util.sh     |  78 +++++++++++++++++
 devtools/trace-skiplist.txt     |   0
 5 files changed, 237 insertions(+), 74 deletions(-)
 create mode 100755 devtools/check-tracepoint.sh
 create mode 100644 devtools/symbol-map-util.sh
 create mode 100644 devtools/trace-skiplist.txt
Signature · 1 line
2.25.1