diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-04-21 05:12:11 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-21 05:58:28 -0400 |
commit | f66578a7637b87810cbb9041c4e3a77fd2fa4706 (patch) | |
tree | 13b4ac67791369daa1b9559f427e128a70e6b9aa /drivers/infiniband | |
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 <lizf@cn.fujitsu.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <49ED8DEB.6000700@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions