Re: [perfmon2] Counting NorthBridge events of a single process

2014-03-21 Thread Leonardo Piga
gt; Sent: Friday, March 21, 2014 10:36 AM > To: Vince Weaver > Cc: perfmon2-devel > Subject: Re: [perfmon2] Counting NorthBridge events of a single process > > On Thu, Mar 20, 2014 at 10:24 PM, Vince Weaver > wrote: >> On Thu, 20 Mar 2014, Martin Ichilevici de Oliveira wrote: >&g

Re: [perfmon2] Counting NorthBridge events of a single process

2014-03-21 Thread Gary Mohr
:eran...@googlemail.com] Sent: Friday, March 21, 2014 10:36 AM To: Vince Weaver Cc: perfmon2-devel Subject: Re: [perfmon2] Counting NorthBridge events of a single process On Thu, Mar 20, 2014 at 10:24 PM, Vince Weaver wrote: > On Thu, 20 Mar 2014, Martin Ichilevici de Oliveira wrote: > >> That pro

Re: [perfmon2] Counting NorthBridge events of a single process

2014-03-21 Thread Stephane Eranian
On Thu, Mar 20, 2014 at 10:24 PM, Vince Weaver wrote: > On Thu, 20 Mar 2014, Martin Ichilevici de Oliveira wrote: > >> That program measures the counter for all processes, but I'm >> interested in measuring it only for my program. Since the other >> examples were not working (out of the box) with

Re: [perfmon2] Counting NorthBridge events of a single process

2014-03-20 Thread Vince Weaver
On Thu, 20 Mar 2014, Martin Ichilevici de Oliveira wrote: > That program measures the counter for all processes, but I'm > interested in measuring it only for my program. Since the other > examples were not working (out of the box) with that event, I decided > to modify the perf_event_open() call,

[perfmon2] Counting NorthBridge events of a single process

2014-03-20 Thread Martin Ichilevici de Oliveira
Hello, I'm trying to measure a NorthBridge event on a AMD Interlagos (Fam 15h) and I'm having some trouble trying to adapt one of the perf_examples provided by libpfm-4.5.0. I could successfully run the syst example on perf_examples for the event "amd64_fam15h_nb::CPU_TO_DRAM_REQUESTS_TO_TARGET_N