Re: [PATCH v1] perf jevents: Drop or simplify small integer values

From: Namhyung Kim
Date: Mon Feb 05 2024 - 19:19:14 EST


On Wed, 31 Jan 2024 12:14:29 -0800, Ian Rogers wrote:
> Prior to this patch '0' would be dropped as the config values default
> to 0. Some json values are hex and the string '0' wouldn't match '0x0'
> as zero. Add a more robust is_zero test to drop these event terms.
>
> When encoding numbers as hex, if the number is between 0 and 9
> inclusive then don't add a 0x prefix.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>