diff options
| author | Li Zefan <[email protected]> | 2009-04-21 17:12:11 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-04-21 11:58:28 +0200 |
| commit | f66578a7637b87810cbb9041c4e3a77fd2fa4706 (patch) | |
| tree | 13b4ac67791369daa1b9559f427e128a70e6b9aa /include/linux | |
| parent | e8082f3f5a17d7a7bfc7dd1050a3f958dc034e9a (diff) | |
tracing/filters: allow user-input to be integer-like string
Suppose we would like to trace all tasks named '123', but this
will fail:
# echo 'parent_comm == 123' > events/sched/sched_process_fork/filter
bash: echo: write error: Invalid argument
Don't guess the type of the filter pred in filter_parse(), but instead
we check it in __filter_add_pred().
[ Impact: extend allowed filter field string values ]
Signed-off-by: Li Zefan <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions