Re: [PATCH Linux-next] perf test: Fix test case perf trace BTF general tests
From: Steven Rostedt
Date: Wed Nov 19 2025 - 12:58:40 EST
On Tue, 18 Nov 2025 20:36:46 -0800
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> > Really? It still uses libtraceevent right? I made sure that this didn't
> > break trace-cmd and thought that perf would work too.
>
> It doesn't completely break perf trace but added new parameter for the
> write syscall at the end. IIUC perf trace iterates the format fields
> after __syscall_nr and take them all as syscall parameters.
Is this a regression? Or can perf be fixed?
I just ran it and I have this:
542.337 ( 0.131 ms): sshd-session/1189 write(fd: 7<socket:[9749]>, buf: , count: 268) = 268
I haven't tried it without the patches. Does it usually show what "buf" is?
Now with the reading of user space, it can show the content too!
-- Steve