Hi all, I'm new for PEBS (Precise Event Based Sampling), I want to collect CPU stalled cycle due to memory access based on PEBS (need bound to specific data address), is there any event I can use on Hawell EP architecture? My CPU is Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz. Also, is there any document or link describe about all events support PEBS? Thanks.
You should certainly start with Chapter 18 of Volume 3 of the Intel Architectures Software Developer's Manual (document 325384, revision 060 is dated September 2016). This describes the configuration of PEBS control registers and the contents of the data records provided by the PEBS facilities.
Because PEBS uses performance counter interrupts to deliver the data records to the OS, there is a fair amount of software involved. I don't think that there are a lot of performance monitoring tools that support PEBS at this time, but there is certainly some level of support in the "perf events" infrastructure of recent Linux kernels. (For the most recent kernels, see http://www.paradyn.org/petascale2016/slides/CSCADS2016_perf_events_status_update.pdf) ;