• L
    perf trace: Sample timestamp and cpu when using record flag · 1281a49b
    Li Zefan 提交于
    Sample timestamp and cpu just like the -R option.
    
    Before:
                init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq=18 handler=eth0
                init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq=18 handler=eth0
                init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq=1 handler=i8042
                init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq=18 handler=eth0
                init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq=1 handler=i8042
    
    After:
                init-0     [001]  7364.568965353: irq_handler_entry: irq=18 handler=eth0
                init-0     [001]  7365.530226877: irq_handler_entry: irq=1 handler=i8042
                init-0     [001]  7365.542831563: irq_handler_entry: irq=18 handler=eth0
                init-0     [001]  7365.644156299: irq_handler_entry: irq=18 handler=eth0
                init-0     [001]  7365.694556201: irq_handler_entry: irq=18 handler=eth0
    Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
    Acked-by: NFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    LKML-Reference: <4AB1F827.8040905@cn.fujitsu.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    1281a49b
parse-events.c 18.2 KB