Messages in this thread |  | | | Subject | Re: [PATCH] trace: reset sleep/block start time on task switch | | From | Steven Rostedt <> | | Date | Wed, 25 Jan 2012 15:15:58 -0500 |
| |
On Wed, 2012-01-25 at 11:50 -0800, Arun Sharma wrote:
> # perf record -agP -e sched:sched_switch --filter "prev_state == 1 || > prev_state == 2" -e sched:sched_stat_sleep -- sleep 3 > [ perf record: Woken up 107 times to write data ] > [ perf record: Captured and wrote 32.629 MB perf.data (~1425585 samples) ] > Warning: > Processed 104066 events and lost 4 chunks! > > Check IO/CPU overload!
Just for kicks, could you try trace-cmd?
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
trace-cmd record -e sched_switch -f 'prev_state == 1 || prev_state == 2' -e sched_stat_sleep sleep 3 I'm not sure the filter is even needed, and it should still keep up fine.
-- Steve
|  |