I am new to using PAPI so please pardon me for possibly stupid question.
I was trying to figure out whether I can use PAPI to get linear address of an memory access that has caused a DTLB-miss (possibly through Intel's Precise Event Based Sampling). I am planning to use the linear/virtual address of the DTLB miss causing memory access to classify the DTLB-miss as due to access to stack region or non-stack (e.g., heap, global) memory region. Can somebody put some light on whether this actually could be possible or not ?
PS: I am using Intel Sandybridge machine.