[PATCH] metrics: remove experimental telemetry helper API
David Marchand
david.marchand at redhat.com
Thu Oct 8 11:17:14 CEST 2026
On Wed, 7 Oct 2026 at 01:33, Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> While investigating experimental functions leftover in DPDK.
>
> The rte_metrics_tel_* functions are dead code. Nothing in the tree
> calls them from outside the metrics library itself; they were left
> exported by the telemetry library rewrite in 20.05.
>
> Stop exporting them. Delete the header, move the types into the C file
> and make the helpers static. The file now only builds when jansson is
> present, so the stub branch goes away too.
>
> The legacy commands ports_all_stat_values, global_stat_values and
> ports_stats_values_by_name are unchanged.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list