[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <de2a5e52-8061-4907-bd48-0d6d28b83b75@linuxfoundation.org>
Date: Tue, 22 Apr 2025 10:59:03 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Steven Rostedt <rostedt@...dmis.org>, LKML
<linux-kernel@...r.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-kselftest@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v2] tracing: selftests: Add testing a user string to
filters
On 4/18/25 08:12, Steven Rostedt wrote:
> From: Steven Rostedt <rostedt@...dmis.org>
>
> Running the following commands was broken:
>
> # cd /sys/kernel/tracing
> # echo "filename.ustring ~ \"/proc*\"" > events/syscalls/sys_enter_openat/filter
> # echo 1 > events/syscalls/sys_enter_openat/enable
> # ls /proc/$$/maps
> # cat trace
>
> And would produce nothing when it should have produced something like:
>
> ls-1192 [007] ..... 8169.828333: sys_openat(dfd: ffffffffffffff9c, filename: 7efc18359904, flags: 80000, mode: 0)
>
> Add a test to check this case so that it will be caught if it breaks
> again.
>
> Link: https://lore.kernel.org/linux-trace-kernel/20250417183003.505835fb@gandalf.local.home/
>
> Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>
> ---
> Changes since v1: https://lore.kernel.org/20250417223323.3edb4f6c@batman.local.home
>
> - Use $TMPDIR instead of $TESTDIR as test file (Masami Hiramatsu)
>
Steve, Masami
Do you want me to take this for rc4?
thanks,
-- Shuah
Powered by blists - more mailing lists