perf_event: Update PERF_EVENT_FORK header definition
authorAnton Blanchard <anton@samba.org>
Tue, 22 Sep 2009 12:34:24 +0000 (22:34 +1000)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 13:42:01 +0000 (15:42 +0200)
PERF_EVENT_FORK always outputs the time field, so update the header
to reflect this.

Signed-off-by: Anton 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: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
include/linux/perf_event.h

index 368bd70f1d2d1358a3b46efaaf021d9085e85b5c..7b7fbf433cffb6377605eea61682c48905c7b33e 100644 (file)
@@ -361,7 +361,7 @@ enum perf_event_type {
         *      struct perf_event_header        header;
         *      u32                             pid, ppid;
         *      u32                             tid, ptid;
-        *      { u64                           time;     } && PERF_SAMPLE_TIME
+        *      u64                             time;
         * };
         */
        PERF_EVENT_FORK                 = 7,
index acefaf71e6ddd392f6d715e2fb6fd5f2c4537925..3a9d36d1e92ac815cc56718e199a47701f9fa965 100644 (file)
@@ -357,7 +357,7 @@ enum perf_event_type {
         *      struct perf_event_header        header;
         *      u32                             pid, ppid;
         *      u32                             tid, ptid;
-        *      { u64                           time;     } && PERF_SAMPLE_TIME
+        *      u64                             time;
         * };
         */
        PERF_RECORD_FORK                        = 7,