- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was looking for ways to program PEBS counters in such a way that I can modify the PEBS-Counter Reset value to something other than zero. This is because I want to see if I can log more memory-access samples than I usually do when the counter reset value is zero. Is there any sample code or sources that I can see and understand in order to program the PEBS counters on my own ?
I have already read the Intel SDM Chapter 18 to understand how PEBS counters work and the steps involved to modify the counters. But I wanted to see some sample code that would help me to understand how it is done in code.
Best,
Arnabjyoti Kalita
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Thomas,
Thanks for the help. Yes I saw there is a simple reference loadable kernel driver for PEBS available in Andi-Kleen's PMU tools. I hope I can use it for testing purposes.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page