* Hardware Perfromance Counters
@ 2005-08-25 2:52 Sushant Sharma
0 siblings, 0 replies; 2+ messages in thread
From: Sushant Sharma @ 2005-08-25 2:52 UTC (permalink / raw)
To: linux-kernel
Hello everyone,
The system I am working on is a single processor Athlon. In the kernel I
need to detect a cache miss (L1/L2) and trigger an event/function
(inside the kernel). Now we have performance counters for
detecting/counting cache misses. Among the various tools/patches
available for accessing performance counters, which one do you guys
recommend. Or do you think it would be easy to write code for this
myself, as i just need this one event detection. Can you give some links
where one can read about programming performance counters or some book
on it.
Thanks a lot.
please cc reply to me too.
--
Sushant Sharma
http://cs.unm.edu/~sushant
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Hardware Perfromance Counters
@ 2005-08-25 8:21 Xie, Bill
0 siblings, 0 replies; 2+ messages in thread
From: Xie, Bill @ 2005-08-25 8:21 UTC (permalink / raw)
To: Sushant Sharma, linux-kernel
Hi,
AMD's CodeAnalyst is the right tool for you. It is based on Oprofile.
It can be free downloaded from AMD website.
Best Regards
Bill Xie
-----Original Message-----
From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Sushant Sharma
Sent: Thursday, August 25, 2005 10:52 AM
To: linux-kernel@vger.kernel.org
Subject: Hardware Perfromance Counters
Hello everyone,
The system I am working on is a single processor Athlon. In the kernel I need to detect a cache miss (L1/L2) and trigger an event/function (inside the kernel). Now we have performance counters for detecting/counting cache misses. Among the various tools/patches available for accessing performance counters, which one do you guys recommend. Or do you think it would be easy to write code for this myself, as i just need this one event detection. Can you give some links where one can read about programming performance counters or some book on it.
Thanks a lot.
please cc reply to me too.
--
Sushant Sharma
http://cs.unm.edu/~sushant
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-25 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-25 2:52 Hardware Perfromance Counters Sushant Sharma
2005-08-25 8:21 Xie, Bill
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®