[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1249983579.17467.156.camel@twins>
Date: Tue, 11 Aug 2009 11:39:39 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Ingo Molnar <mingo@...e.hu>
Cc: Johannes Stezenbach <js@...21.net>, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>,
Frédéric Weisbecker <fweisbec@...il.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [patch] cache-miss and cache-refs events on P6-mobile CPUs
On Tue, 2009-08-11 at 11:34 +0200, Ingo Molnar wrote:
> @@ -116,8 +116,8 @@ static const u64 p6_perfmon_event_map[]
> {
> [PERF_COUNT_HW_CPU_CYCLES] = 0x0079,
> [PERF_COUNT_HW_INSTRUCTIONS] = 0x00c0,
> - [PERF_COUNT_HW_CACHE_REFERENCES] = 0x0000,
> - [PERF_COUNT_HW_CACHE_MISSES] = 0x0000,
> + [PERF_COUNT_HW_CACHE_REFERENCES] = 0x0f2e,
> + [PERF_COUNT_HW_CACHE_MISSES] = 0x012e,
2e is total numer of L2 events,
0f is all mesi states
01 is invalid states
Yes they are numbers, but no they are not full cache refs and misses.
I don't think this is a good patch.
--
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