Skip to contentSkip to conversation

perf: Update PERF_EVENT_FORK header definition

PATCH In review Anton Blanchard 1 participant 2 messages Sep 22, 2009 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: Update PERF_EVENT_FORK header definition

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

---

include/linux/perf_counter.h +1 -1
Index: linux.trees.git/include/linux/perf_counter.h
===================================================================
@@ -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,
include/linux/perf_event.h +1 -1
Index: linux.trees.git/include/linux/perf_event.h
===================================================================
@@ -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,
#1 lore raw

[tip:perf/urgent] perf_event: Update PERF_EVENT_FORK header definition

Commit-ID:  a6f10a2f5d8c2738b3ac05974bdbea3b68a2aecd
Gitweb:     http://git.kernel.org/tip/a6f10a2f5d8c2738b3ac05974bdbea3b68a2aecd
Author:     Anton Blanchard <[email protected]>
AuthorDate: Tue, 22 Sep 2009 22:34:24 +1000
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 22 Sep 2009 15:42:01 +0200

perf_event: Update PERF_EVENT_FORK header definition

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

Cc Arjan van de Ven <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Frederic Weisbecker <[email protected]>

LKML-Reference: <20090922123424.GD19453@kryten>

---
 include/linux/perf_counter.h |    2 +-
 include/linux/perf_event.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/perf_counter.h +1 -1
index 368bd70..7b7fbf4 100644
@@ -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,
include/linux/perf_event.h +1 -1
index acefaf7..3a9d36d 100644
@@ -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,