lkml.org 
[lkml]   [2024]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v1] perf jevents: Drop or simplify small integer values
Date
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>

\
 
 \ /
  Last update: 2024-05-27 14:49    [W:0.052 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site