[RFC PATCH 7/7] telemetry: change public API to use 64-bit signed values
Morten Brørup
mb at smartsharesystems.com
Tue Dec 13 21:19:45 CET 2022
> From: Bruce Richardson [mailto:bruce.richardson at intel.com]
> Sent: Tuesday, 13 December 2022 19.28
>
> While the unsigned values added to telemetry dicts/arrays were up to
> 64-bits in size, the sized values were only up to 32-bits. We can
> standardize the API by having both int and uint functions take 64-bit
> values. For ABI compatibility, we use function versioning to ensure
> older binaries can still use the older functions taking a 32-bit
> parameter.
>
> Suggested-by: Morten Brørup <mb at smartsharesystems.com>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Excellent example of how to use function versioning for ABI compatibility.
Series-acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list