Skip to content

Trace subsystem fixes and more

David Marchand dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 2 repliesIn review
  2. v39 patches 7 repliesSuperseded
  3. v29 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches10 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11trace: fix mode for new trace pointlib/eal/common/eal_common_trace.c+1 -00 replies
2/11trace: fix mode changeapp/test/test_trace.c lib/eal/common/eal_common_trace.c+0 -60 replies
3/11trace: fix leak with regexplib/eal/common/eal_common_trace.c+4 -20 replies
4/11trace: rework loop on trace pointslib/eal/common/eal_common_trace.c+19 -150 replies
5/11trace: fix dynamically enabling trace pointsapp/test/test_trace.c app/test/test_trace.h doc/guides/prog_guide/trace_lib.rst +3 more+65 -380 replies
6/11trace: fix race in debug dumplib/eal/common/eal_common_trace.c+3 -30 replies
7/11trace: fix metadata dumpapp/test/test_trace.c lib/eal/common/eal_common_trace_ctf.c+15 -320 replies
8/11trace: remove limitation on trace point namelib/eal/common/eal_common_trace.c lib/eal/common/eal_common_trace_utils.c lib/eal/common/eal_trace.h +1 more+7 -111 reply
9/11trace: remove limitation on directorylib/eal/common/eal_common_trace_utils.c lib/eal/common/eal_trace.h+25 -480 replies
10/11trace: create new directory for each trace dumplib/eal/common/eal_common_trace.c lib/eal/common/eal_common_trace_utils.c lib/eal/common/eal_trace.h+50 -600 replies
11/11trace: enable trace operations via telemetrydoc/guides/prog_guide/trace_lib.rst lib/eal/common/eal_common_trace.c lib/telemetry/telemetry_data.c+118 -00 replies

Reviews trailers per patch

10 of 11 patches have a Reviewed-by or Acked-by.

PatchJerin JacobSunil Kumar KoriBruce Richardson
1/11A-b A-b
2/11A-b
3/11A-b A-b
4/11A-b A-b
5/11A-b
6/11A-b A-b
7/11A-b
8/11A-b
9/11A-b A-b
10/11
11/11A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/11] Trace subsystem fixes and more

Hello,

This series addresses a number of issues and limitations I have identified over time in the trace subsystem.

The main issue was with dynamically enabling trace points which was not working if no trace point had been enabled at rte_eal_init() time.

This is 22.11 material.

We may start thinking about marking this API stable, but this is another topic.

Signature · 40 lines
David Marchand

Changes since v3:
- added one more change for creating new trace directory on call to
  rte_trace_save(),
- added the telemetry commands patch in the series,

Changes since v2:
- fixed trace point name storage,

Changes since v1:
- split patch 3,
- addressed comments on (previously) patch 4,

David Marchand (11):
  trace: fix mode for new trace point
  trace: fix mode change
  trace: fix leak with regexp
  trace: rework loop on trace points
  trace: fix dynamically enabling trace points
  trace: fix race in debug dump
  trace: fix metadata dump
  trace: remove limitation on trace point name
  trace: remove limitation on directory
  trace: create new directory for each trace dump
  trace: enable trace operations via telemetry

 app/test/test_trace.c                      |  67 +++----
 app/test/test_trace.h                      |   2 +
 doc/guides/prog_guide/trace_lib.rst        |  53 +++++-
 lib/eal/common/eal_common_trace.c          | 192 ++++++++++++++-------
 lib/eal/common/eal_common_trace_ctf.c      |   3 -
 lib/eal/common/eal_common_trace_utils.c    | 132 ++++++--------
 lib/eal/common/eal_trace.h                 |  13 +-
 lib/eal/include/rte_trace_point_register.h |   3 +-
 lib/telemetry/telemetry_data.c             |   1 +
 9 files changed, 279 insertions(+), 187 deletions(-)

-- 
2.37.3