diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2026-08-21 19:28:22 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-15 18:20:30 -0400 |
| commit | b16cb6d8040fca3ec38801f6867b830414d9cb68 (patch) | |
| tree | f33ee210674d9cfa5d612ba11e105d6ae410a368 /include/linux/root_dev.h | |
| parent | 7884b0bf098c5f3d23418e94751502f25ebae309 (diff) | |
tracnig: Add proper error message for glob use with "within" filter
If a user were to use a glob expression with the "within" filter, it
currently just fails with an errno return but does not update the
error_log to tell the user why it failed. Update it to use the parsing
error log to tell the user why it failed.
# echo 'within ~ "*_read"' > events/kmem/kmem_cache_alloc/filter
-bash: echo: write error: Invalid argument
# cat error_log
[ 4676.606481] event filter parse error: error: 'within' filter cannot take glob expressions
Command: within ~ "*_read"
^
Link: https://patch.msgid.link/20260821233050.488131029@kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
