cancel
Showing results for 
Search instead for 
Did you mean: 

Processors

msasongko17
Journeyman III

Using Linux perf_event_open to configure IBS to sample load and store micro-ops

Hi,

In my research, I need to sample memory access events and collect data related to these events, such as the accessed memory addresses, the thread ids that perform accesses, etc. I plan to do it by using perf_event_open system call (https://linux.die.net/man/2/perf_event_open) to configure AMD's IBS to sample these events. The problem is I cannot find any documentation on the hardware event numbers of AMD processors that I can pass to perf_event_open. For Intel, hardware event numbers are listed in Intel® 64 and IA32 Architectures Performance Monitoring Events | Intel® Software . Can anyone direct me to a similar document for AMD machines? Or, if IBS cannot be configured with perf_event_open, can anyone direct me to a tutorial on how to configure and access IBS data?

The AMD machine that I am using is an AMD EPYC 7551 32-core processor running Linux 5.0.0 kernel.  

0 Likes
3 Replies

does kernel 5.4.7 work on your rig fine?

0 Likes

I just installed kernel 5.4.8, which is the latest stable kernel. The kernel works just fine.

0 Likes

msasongko17 wrote:

I just installed kernel 5.4.8, which is the latest stable kernel. The kernel works just fine.

glad you have that sorted out

0 Likes