public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf: Update PERF_EVENT_FORK header definition
@ 2009-09-22 12:34 Anton Blanchard
  2009-09-22 13:45 ` [tip:perf/urgent] perf_event: " tip-bot for Anton Blanchard
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Blanchard @ 2009-09-22 12:34 UTC (permalink / raw)
  To: Arjan van de Ven, Peter Zijlstra, Paul Mackerras,
	Frederic Weisbecker, Ingo Molnar
  Cc: linux-kernel


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

Signed-off-by: Anton Blanchard <anton@samba.org>
---

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-22 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 12:34 [PATCH] perf: Update PERF_EVENT_FORK header definition Anton Blanchard
2009-09-22 13:45 ` [tip:perf/urgent] perf_event: " tip-bot for Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox