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.


-- 
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

Reply via email to