Re: [PATCH] tracing: Hide __NR_utimensat and _NR_mq_timedsend when not defined

From: Steven Rostedt

Date: Thu Nov 06 2025 - 12:11:52 EST


On Fri, 7 Nov 2025 02:01:04 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> On Tue, 4 Nov 2025 20:53:10 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > From: Steven Rostedt <rostedt@xxxxxxxxxxx>
> >
> > Some architectures (riscv-32) do not define __NR_utimensat and
> > _NR_mq_timedsend, and fails to build when they are used.
> >
> > Hide them in "ifdef"s.
>
> (I wonder we can expect that other __NR_* also defined on every
> architecture?)
> Anyway, this looks good to me.

I built every arch when I did the first update. It just happened that my
scripts to build riscv-32 was actually building riscv-64 :-p

So it's now all tested.

>
> Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>

Thanks!

-- Steve