Re: [PATCH v3 0/3] tracing: Read user data from futex system call trace event

From: Peter Zijlstra

Date: Wed Apr 01 2026 - 16:15:37 EST


On Wed, Apr 01, 2026 at 09:31:19PM +0200, Thomas Gleixner wrote:

> Stick 100 lines of python into tools/tracing and be done with it. I'm
> happy to contribute to that.
>
> Aside of that:
>
> Putting the decoder (futex_print_syscall) into the futex code itself
> is admittedly a smart move to offload the work of keeping that up to
> date to the people who are actually working on futexes.
>
> TBH, I'm not interested to deal with that at all. If you want this
> ftrace magic pretty printing, then stick it into kernel/trace or if
> there is a real technical reason (hint there is none) into
> kernel/futex/trace.c and take ownership of it. But please do not burden
> others with your fancy toy of the day.

Him putting it near futex is my fault. I really hate having this
description nonsense separate -- *IF* is has to exist at all.

That said, I was thinking of Sasha's syscall api endeavour, I feel that
if we do any of this, it should all come from the same one place.