On 4/18/25 08:12, Steven Rostedt wrote:
From: Steven Rostedt <[email protected]>

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/[email protected]/

Signed-off-by: Steven Rostedt (Google) <[email protected]>
---
Changes since v1: 
https://lore.kernel.org/[email protected]

- Use $TMPDIR instead of $TESTDIR as test file (Masami Hiramatsu)


Steve, Masami

Do you want me to take this for rc4?

thanks,
-- Shuah

Reply via email to