Li Zefan
a3e0ab0507
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>
2009-04-12 11:59:28 +02:00
..
2009-04-09 05:52:40 +02:00
2009-03-20 10:17:07 +01:00
2009-04-01 14:47:42 +02:00
2009-04-10 13:08:50 +02:00
2009-04-03 12:23:09 +02:00
2009-03-22 18:38:46 +01:00
2009-04-01 14:47:53 +02:00
2009-02-06 01:01:41 +01:00
2009-03-10 14:13:14 -04:00
2009-03-22 18:16:54 +01:00
2009-03-20 10:17:07 +01:00
2009-03-19 15:58:47 -04:00
2009-04-12 11:59:28 +02:00
2009-03-10 13:12:58 -04:00
2009-04-10 15:48:53 +02:00
2009-03-23 09:22:15 +01:00
2009-04-12 11:59:27 +02:00
2009-04-07 14:02:42 +02:00
2009-03-24 09:31:34 -04:00
2009-02-18 01:40:20 +01:00
2009-02-25 09:16:01 +01:00
2009-03-04 22:15:30 -05:00
2009-03-19 15:58:47 -04:00
2009-03-23 09:22:15 +01:00
2009-04-07 13:59:23 +02:00
2009-03-31 17:45:13 +02:00
2009-03-17 23:12:11 -04:00
2009-03-19 15:58:47 -04:00
2009-04-07 14:01:11 +02:00
2009-04-07 13:58:54 +02:00
2009-03-22 15:17:21 +01:00
2009-03-13 00:00:58 -04:00
2009-03-25 18:32:34 +01:00
2009-01-14 12:11:37 +01:00
2009-04-09 05:43:32 +02:00
2009-03-05 21:46:40 -05:00
2009-03-25 18:32:35 +01:00
2009-04-10 12:44:46 +02:00
2009-04-07 14:10:10 -07:00