Re: [perfmon2] [RFC] perf_events: how to add Intel LBR support

2010-02-12 Thread Stephane Eranian
Robert. On Thu, Feb 11, 2010 at 11:24 PM, Robert Richter wrote: > On 10.02.10 17:01:45, Stephane Eranian wrote: >> I was referring to the fact that if I enable LBR via a PERF_SAMPLE_* bit, I >> will actually need more than one bit because there are configuration options. >> I was not talking abou

[perfmon2] Deterministic events

2010-02-12 Thread heechul Yun
I'm experimenting performance counter to find deterministic events. I originally thought that the number of retired instructions will be the same for every run of the program with the same input. However, it was not. The following is the result with the 'task' example provided in libpfm4 package.

Re: [perfmon2] Deterministic events

2010-02-12 Thread stephane eranian
On Fri, Feb 12, 2010 at 5:17 PM, heechul Yun wrote: > I'm experimenting performance counter to find deterministic events. > > I originally thought that the number of retired instructions will be the > same for every run of the program with the same input. However, it was not. > > The following is

Re: [perfmon2] Deterministic events

2010-02-12 Thread Vince Weaver
On Fri, 12 Feb 2010, heechul Yun wrote: > I'm experimenting performance counter to find deterministic events. > > I originally thought that the number of retired instructions will be the > same for every run of the program with the same input. However, it was not. > > /// > > What is the reason

Re: [perfmon2] Deterministic events

2010-02-12 Thread heechul Yun
On Fri, Feb 12, 2010 at 10:37 AM, stephane eranian wrote: > On Fri, Feb 12, 2010 at 5:17 PM, heechul Yun > wrote: > > I'm experimenting performance counter to find deterministic events. > > > > I originally thought that the number of retired instructions will be the > > same for every run of the

Re: [perfmon2] Deterministic events

2010-02-12 Thread stephane eranian
On Fri, Feb 12, 2010 at 5:57 PM, heechul Yun wrote: > > > On Fri, Feb 12, 2010 at 10:37 AM, stephane eranian > wrote: >> >> On Fri, Feb 12, 2010 at 5:17 PM, heechul Yun >> wrote: >> > I'm experimenting performance counter to find deterministic events. >> > >> > I originally thought that the numb