Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [PATCH v1] perf jevents: Drop or simplify small integer values | Date | Mon, 5 Feb 2024 16:18:59 -0800 |
| |
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@kernel.org>
| |