diff options
| author | Steven Rostedt <[email protected]> | 2025-04-18 14:12:08 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-04-18 15:26:01 +0000 |
| commit | d481ee35247d2a01764667a25f6f512c292ba42d (patch) | |
| tree | d0bfb375c5888a9678e8ff665d9764afa782a318 /rust/helpers/platform.c | |
| parent | tracing: Fix filter string testing (diff) | |
| download | kernel-d481ee35247d2a01764667a25f6f512c292ba42d.tar.gz kernel-d481ee35247d2a01764667a25f6f512c292ba42d.zip | |
tracing: selftests: Add testing a user string to filters
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]/
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
