[RFC PATCH 7/7] telemetry: change public API to use 64-bit signed values

2022-12-13 Thread Bruce Richardson
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 u

RE: [RFC PATCH 7/7] telemetry: change public API to use 64-bit signed values

2022-12-13 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@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 functi

Re: [RFC PATCH 7/7] telemetry: change public API to use 64-bit signed values

2022-12-14 Thread Tyler Retzlaff
On Tue, Dec 13, 2022 at 09:19:45PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@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

Re: [RFC PATCH 7/7] telemetry: change public API to use 64-bit signed values

2022-12-14 Thread lihuisong (C)
在 2022/12/15 1:53, Tyler Retzlaff 写道: On Tue, Dec 13, 2022 at 09:19:45PM +0100, Morten Brørup wrote: From: Bruce Richardson [mailto:bruce.richard...@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