From: bert hubert <bert.hubert@netherlabs.nl>
To: ranjith kumar <ranjit_kumar_b4u@yahoo.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: privilege levels and kernel mode
Date: Sun, 15 Oct 2006 21:24:23 +0200 [thread overview]
Message-ID: <20061015192423.GA22346@outpost.ds9a.nl> (raw)
In-Reply-To: <20061015191716.15283.qmail@web27401.mail.ukl.yahoo.com>
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
next prev parent reply other threads:[~2006-10-15 19:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-15 18:34 [PATCH] close mprotect noexec hole Ulrich Drepper
2006-10-15 18:47 ` Linus Torvalds
2006-10-15 19:14 ` Ulrich Drepper
2006-10-15 19:40 ` Linus Torvalds
2006-10-15 21:37 ` Ulrich Drepper
2006-10-15 19:17 ` privilege levels and kernel mode ranjith kumar
2006-10-15 19:24 ` bert hubert [this message]
2006-10-15 20:02 ` Jan Engelhardt
2006-10-15 23:02 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061015192423.GA22346@outpost.ds9a.nl \
--to=bert.hubert@netherlabs.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=ranjit_kumar_b4u@yahoo.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®