diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-04-11 15:52:51 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-12 11:59:28 +0200 |
commit | a3e0ab050774117d4a6173087c8bf3888662a83f (patch) | |
tree | 91d0f5c56a6b01d06c18864e5bcd8ec2c3405eb8 /kernel/lockdep.c | |
parent | bcabd91c271e50eebc0cb9220ac92700332b452e (diff) | |
download | linux-a3e0ab050774117d4a6173087c8bf3888662a83f.tar.bz2 |
tracing/filters: allow user input integer to be oct or hex
Before patch:
# echo 'parent_pid == 0x10' > events/sched/sched_process_fork/filter
# cat sched/sched_process_fork/filter
parent_pid == 0
After patch:
# cat sched/sched_process_fork/filter
parent_pid == 16
Also check the input more strictly.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Tom Zanussi <tzanussi@gmail.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <49E04C53.4010600@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep.c')
0 files changed, 0 insertions, 0 deletions