[PATCH v3 3/5] telemetry: split out body of json string format fn
Tyler Retzlaff
roretzla at linux.microsoft.com
Fri Apr 7 21:28:17 CEST 2023
On Wed, Apr 05, 2023 at 05:03:24PM +0100, Bruce Richardson wrote:
> To enable further rework to (efficiently) avoid using variable-length
> arrays, we first separate out the body of the __json_format_str
> function. This means that the actual VLA buffer is in the wrapper
> function, and means we can reuse the actual writing code in multiple
> code paths without duplication.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list