jolsa@redhat.com
756d17ee7e
tracing: Support multiple pids in set_pid_ftrace file
Adding the possibility to set more than 1 pid in the set_pid_ftrace
file, thus allowing to trace more than 1 independent processes.
Usage:
sh-4.0# echo 284 > ./set_ftrace_pid
sh-4.0# cat ./set_ftrace_pid
284
sh-4.0# echo 1 >> ./set_ftrace_pid
sh-4.0# echo 0 >> ./set_ftrace_pid
sh-4.0# cat ./set_ftrace_pid
swapper tasks
1
284
sh-4.0# echo 4 > ./set_ftrace_pid
sh-4.0# cat ./set_ftrace_pid
4
sh-4.0# echo > ./set_ftrace_pid
sh-4.0# cat ./set_ftrace_pid
no pid
sh-4.0#
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091013203425.565454612@goodmis.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-10-14 08:13:53 +02:00
..
2009-09-06 06:11:42 +02:00
2009-10-14 08:13:53 +02:00
2009-09-21 15:14:58 +02:00
2009-09-04 12:12:39 -04:00
2009-09-19 11:42:12 +02:00
2009-09-19 11:42:12 +02:00
2009-06-17 17:01:09 -04:00
2009-09-20 16:58:56 +05:30
2009-09-12 23:34:04 -04:00
2009-10-07 21:53:41 -04:00
2009-09-15 12:24:22 -04:00
2009-09-19 11:42:12 +02:00
2009-10-05 10:57:56 +02:00
2009-10-13 09:24:59 +02:00
2009-10-01 11:20:48 +02:00
2009-09-14 11:43:24 -04:00
2009-09-17 15:53:40 -04:00
2009-09-17 15:53:40 -04:00
2009-10-07 21:52:03 -04:00
2009-09-12 21:45:17 -04:00
2009-09-12 23:34:04 -04:00
2009-03-23 09:22:15 +01:00
2009-10-07 14:05:04 -04:00
2009-09-11 14:24:13 -04:00
2009-09-18 21:22:08 +02:00
2009-09-04 18:59:39 -04:00
2009-09-12 21:45:17 -04:00
2008-05-23 21:13:23 +02:00
2009-08-06 07:28:06 +02:00
2009-09-24 07:21:04 -07:00
2009-08-17 11:25:09 +02:00
2009-07-10 12:14:05 +02:00
2009-09-21 09:15:07 -07:00
2009-06-15 10:06:19 -07:00
2009-07-10 12:14:07 +02:00
2009-10-13 12:03:08 +02:00
2009-10-14 08:13:53 +02:00