[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061015192423.GA22346@outpost.ds9a.nl>
Date: Sun, 15 Oct 2006 21:24:23 +0200
From: bert hubert <bert.hubert@...herlabs.nl>
To: ranjith kumar <ranjit_kumar_b4u@...oo.co.uk>
Cc: linux-kernel@...r.kernel.org
Subject: Re: privilege levels and kernel mode
On Sun, Oct 15, 2006 at 08:17:16PM +0100, ranjith kumar wrote:
> memory reads, number of cache misses occured while
> running a "C" program. For that I have to wright some
> values into "Model specific registers of pentium-4
> processor". But those registers can be written ONLY at
> privilege level of zero of pentium4 processor.
Look at 'perfmon' and 'perfctr', they give you what you want.
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
-
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