• Ingo Molnar's avatar
    perf trace: Sample timestamps as well · 6ddf259d
    Ingo Molnar authored
    Before:
    
                perf-21082 [013]     0.000000: sched_wakeup_new: task perf:21083 [120] success=1 [015]
                perf-21082 [013]     0.000000: sched_migrate_task: task perf:21082 [120] from: 13  to: 15
                perf-21082 [013]     0.000000: sched_process_fork: parent perf:21082  child perf:21083
                true-21083 [015]     0.000000: sched_wakeup: task migration/15:33 [0] success=1 [015]
                perf-21082 [013]     0.000000: sched_switch: task perf:21082 [120] (S) ==> swapper:0 [140]
                true-21083 [015]     0.000000: sched_switch: task perf:21083 [120] (R) ==> migration/15:33 [0]
                true-21083 [011]     0.000000: sched_process_exit: task true:21083 [120]
    
    After:
    
                perf-21082 [013] 14674.797613: sched_wakeup_new: task perf:21083 [120] success=1 [015]
                perf-21082 [013] 14674.797506: sched_migrate_task: task perf:21082 [120] from: 13  to: 15
                perf-21082 [013] 14674.797610: sched_process_fork: parent perf:21082  child perf:21083
                true-21083 [015] 14674.797725: sched_wakeup: task migration/15:33 [0] success=1 [015]
                perf-21082 [013] 14674.797722: sched_switch: task perf:21082 [120] (S) ==> swapper:0 [140]
                true-21083 [015] 14674.797729: sched_switch: task perf:21083 [120] (R) ==> migration/15:33 [0]
                true-21083 [011] 14674.798159: sched_process_exit: task true:21083 [120]
    
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    6ddf259d
builtin-record.c 15.6 KB