Skip to content

telemetry logging improvements and cleanup

Bruce Richardson dpdk-dev 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v14 patches 6 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4telemetry: use rte_log for logginglib/librte_eal/freebsd/eal.c lib/librte_eal/linux/eal.c lib/librte_telemetry/rte_telemetry.h +1 more+50 -592 replies
2/4telemetry: make the legacy registration function internaldoc/guides/rel_notes/release_21_05.rst lib/librte_telemetry/rte_telemetry_legacy.h lib/librte_telemetry/version.map+7 -20 replies
3/4telemetry: rename internal-only header filelib/librte_metrics/rte_metrics_telemetry.c lib/librte_telemetry/telemetry.c lib/librte_telemetry/telemetry_internal.h +1 more+6 -60 replies
4/4telemetry: move init function to internal headerlib/librte_eal/freebsd/eal.c lib/librte_eal/linux/eal.c lib/librte_telemetry/rte_telemetry.h +1 more+35 -340 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchCiara Power
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/4] telemetry logging improvements and cleanup

This set adds support for using the regular rte_log functions from the telemetry library; avoiding circular dependencies by having EAL register the telemetry library itself and then passing the required handles to that library as part of the telemetry_init call.

Beyond this change, the other three patches are cleanups to ensure that all internal functions are clearly separate from the public APIs. (Patches 3 & 4 may be merged into a single one on apply, for I've kept them separate for now for clarity).

V2: Rebased on latest main branch.

Bruce Richardson (4):
telemetry: use rte_log for logging
telemetry: make the legacy registration function internal
telemetry: rename internal-only header file
telemetry: move init function to internal header

 doc/guides/rel_notes/release_21_05.rst        |  5 ++
 lib/librte_eal/freebsd/eal.c                  | 12 +--
 lib/librte_eal/linux/eal.c                    | 12 +--
 lib/librte_metrics/rte_metrics_telemetry.c    |  2 +-
 lib/librte_telemetry/rte_telemetry.h          | 25 ------
 lib/librte_telemetry/telemetry.c              | 76 +++++++++----------
 ...elemetry_legacy.h => telemetry_internal.h} | 41 +++++++++-
 lib/librte_telemetry/telemetry_legacy.c       |  2 +-
 lib/librte_telemetry/version.map              |  2 +-
 9 files changed, 87 insertions(+), 90 deletions(-)
 rename lib/librte_telemetry/{rte_telemetry_legacy.h => telemetry_internal.h} (65%)

--
2.27.0