perf: Add a timestamp to fork events
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 12 Sep 2009 05:52:47 +0000 (07:52 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Sep 2009 09:42:10 +0000 (11:42 +0200)
commit393b2ad8c757ba3ccd2a99ca5bbcd6db4d3fa53d
tree8972e2e9647c814e71be74d37adb85b18e9c6732
parent929bf0d0156562ce631728b6fa53d68004d456d2
perf: Add a timestamp to fork events

perf timechart needs to know when a process forked, in order to be
able to visualize properly when tasks start.

This patch adds a time field to the event structure, and fills it
in appropriately.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090912130341.51ad2de2@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c
tools/perf/util/event.h