[RFC] Scheduler recorder and playback
Dmitry Antipov
dmitry.antipov at linaro.org
Wed Apr 4 09:57:54 UTC 2012
On 04/02/2012 02:15 PM, Pantelis Antoniou wrote:
>> Example session:
>>
>> # perf sched record
>>
>> < run process, etc.>
>>
>> ^C<- perf ends producing a perf.data file.
>>
>> # perf sched spr-replay -l
>> <lists tasks and pids in the trace>
>>
>> # perf sched spr-replay -s<pid#1> -s<name> -d -n -g
>> <see the trace program for the processes with pid#1 and named<name>
>>
>> # perf sched spr-replay -s<pid#1> -g>test.spr
>> <generates test.spr which contains the program of pid#1>
>>
>> # perf sched spr-replay -f test.spr -d
>> <execute the test.spr program>
Do you have any thoughts on how to replay multithreaded workloads?
We definitely wants to replay per-process, not per-thread workloads.
Dmitry
More information about the linaro-dev
mailing list