Re: [PATCH 14/15] telemetry: add allocation function attributes

2025-01-20 Thread Bruce Richardson
On Mon, Jan 20, 2025 at 10:03:32AM -0800, Stephen Hemminger wrote: > Use function attributes to catch cases where telemetry data > is allocated but not freed correctly. > > Signed-off-by: Stephen Hemminger > --- > lib/telemetry/rte_telemetry.h | 21 +++-- > 1 file changed, 11 ins

[PATCH 14/15] telemetry: add allocation function attributes

2025-01-20 Thread Stephen Hemminger
Use function attributes to catch cases where telemetry data is allocated but not freed correctly. Signed-off-by: Stephen Hemminger --- lib/telemetry/rte_telemetry.h | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/lib/telemetry/rte_telemetry.h b/lib/tel