Commit a6f10a2f authored by Anton Blanchard's avatar Anton Blanchard Committed by Ingo Molnar

perf_event: Update PERF_EVENT_FORK header definition

PERF_EVENT_FORK always outputs the time field, so update the header
to reflect this.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090922123424.GD19453@kryten>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c7f7fea3
...@@ -361,7 +361,7 @@ enum perf_event_type { ...@@ -361,7 +361,7 @@ enum perf_event_type {
* struct perf_event_header header; * struct perf_event_header header;
* u32 pid, ppid; * u32 pid, ppid;
* u32 tid, ptid; * u32 tid, ptid;
* { u64 time; } && PERF_SAMPLE_TIME * u64 time;
* }; * };
*/ */
PERF_EVENT_FORK = 7, PERF_EVENT_FORK = 7,
......
...@@ -357,7 +357,7 @@ enum perf_event_type { ...@@ -357,7 +357,7 @@ enum perf_event_type {
* struct perf_event_header header; * struct perf_event_header header;
* u32 pid, ppid; * u32 pid, ppid;
* u32 tid, ptid; * u32 tid, ptid;
* { u64 time; } && PERF_SAMPLE_TIME * u64 time;
* }; * };
*/ */
PERF_RECORD_FORK = 7, PERF_RECORD_FORK = 7,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment