[PATCH] perf: Update PERF_EVENT_FORK header definition

From: Anton Blanchard
Date: Tue Sep 22 2009 - 08:35:30 EST



PERF_EVENT_FORK always outputs the time field, so update the header to
reflect this.

Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>
---

Index: linux.trees.git/include/linux/perf_counter.h
===================================================================
--- linux.trees.git.orig/include/linux/perf_counter.h 2009-09-22 20:24:37.000000000 +1000
+++ linux.trees.git/include/linux/perf_counter.h 2009-09-22 20:24:47.000000000 +1000
@@ -364,7 +364,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: linux.trees.git/include/linux/perf_event.h
===================================================================
--- linux.trees.git.orig/include/linux/perf_event.h 2009-09-22 20:24:37.000000000 +1000
+++ linux.trees.git/include/linux/perf_event.h 2009-09-22 20:24:57.000000000 +1000
@@ -360,7 +360,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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/