[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-41f95331b972a039f519ae0c70f051b7121f7346@git.kernel.org>
Date: Thu, 25 Jun 2009 19:42:46 GMT
From: tip-bot for Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:perfcounters/urgent] perf_counter: Split the mmap control page in two parts
Commit-ID: 41f95331b972a039f519ae0c70f051b7121f7346
Gitweb: http://git.kernel.org/tip/41f95331b972a039f519ae0c70f051b7121f7346
Author: Peter Zijlstra <a.p.zijlstra@...llo.nl>
AuthorDate: Tue, 23 Jun 2009 17:55:18 +0200
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Thu, 25 Jun 2009 21:39:05 +0200
perf_counter: Split the mmap control page in two parts
Since there are two distinct sections to the control page,
move them apart so that possible extentions don't overlap.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
include/linux/perf_counter.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index e7213e4..489d5cb 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -233,6 +233,12 @@ struct perf_counter_mmap_page {
__u32 index; /* hardware counter identifier */
__s64 offset; /* add to hardware counter value */
+ /*
+ * Hole for extension of the self monitor capabilities
+ */
+
+ __u64 __reserved[125]; /* align to 1k */
+
/*
* Control data for the mmap() data buffer.
*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists