lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250801160546.5629ef38@gandalf.local.home>
Date: Fri, 1 Aug 2025 16:05:46 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Martin KaFai Lau <martin.lau@...ux.dev>
Cc: Masami Hiramatsu <mhiramat@...nel.org>, Mathieu Desnoyers
 <mathieu.desnoyers@...icios.com>, bpf@...r.kernel.org, Douglas Raillard
 <douglas.raillard@....com>, LKML <linux-kernel@...r.kernel.org>, Linux
 Trace Kernel <linux-trace-kernel@...r.kernel.org>
Subject: Re: [PATCH] tracing: Have unsigned int function args displayed as
 hexadecimal

On Fri, 1 Aug 2025 12:59:05 -0700
Martin KaFai Lau <martin.lau@...ux.dev> wrote:

> On 7/31/25 4:31 PM, Steven Rostedt wrote:
> > +			int_data = btf_type_int(t);
> > +                        encode = BTF_INT_ENCODING(int_data);  
> 
> There is a btf_int_encoding(t) helper in btf.h, so only "encode = 
> btf_int_encoding(t);" will be simpler.

Thanks, I didn't see that. I was looking at the code in btf.c which had
this open coded.

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ