mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin KaFai Lau <martin.lau@linux.dev>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	bpf@vger.kernel.org, Douglas Raillard <douglas.raillard@arm.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>
Subject: Re: [PATCH] tracing: Have unsigned int function args displayed as hexadecimal
Date: Fri, 1 Aug 2025 12:59:05 -0700	[thread overview]
Message-ID: <604028fc-0a41-4323-b72a-7c61e069ef3c@linux.dev> (raw)
In-Reply-To: <20250731193126.2eeb21c6@gandalf.local.home>

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.

  parent reply	other threads:[~2025-08-01 19:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-31 23:31 Steven Rostedt
2025-08-01 14:49 ` Yonghong Song
2025-08-01 15:09   ` Steven Rostedt
2025-08-01 19:59 ` Martin KaFai Lau [this message]
2025-08-01 20:05   ` Steven Rostedt
2025-08-04 13:19 ` Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=604028fc-0a41-4323-b72a-7c61e069ef3c@linux.dev \
    --to=martin.lau@linux.dev \
    --cc=bpf@vger.kernel.org \
    --cc=douglas.raillard@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mhiramat@kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®