On Wed, Nov 29, 2023 at 04:04:06PM -0800, Andrii Nakryiko wrote: > Emit tnum representation as just a constant if all bits are known. > Use decimal-vs-hex logic to determine exact format of emitted > constant value, just like it's done for register range values. > For that move tnum_strn() to kernel/bpf/log.c to reuse decimal-vs-hex > determination logic and constants. > > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> This is much easier to read, thanks1 Acked-by: Shung-Hsi Yu <shung-hsi.yu@xxxxxxxx>