Re: [perfmon2] deterministic event on 8-core Intel i7 processor

2010-03-09 Thread stephane eranian
On Tue, Mar 9, 2010 at 5:03 AM, heechul Yun wrote: > Hello > I've used "inst_stored:stores" event to get a deterministic number for a > given program execution on my Core2Duo workstation. > Recently, I got a brand new i7 machine with 8 cores, but I found that > "inst_stored:stores" is not supporte

Re: [perfmon2] deterministic event on 8-core Intel i7 processor

2010-03-09 Thread heechul Yun
./task ls -e "BR_INST_RETIRED" 686804 BR_INST_RETIRED 686803 BR_INST_RETIRED 686805 BR_INST_RETIRED On Tue, Mar 9, 2010 at 12:03 PM, stephane eranian wrote: > On Tue, Mar 9, 2010 at 5:03 AM, heechul Yun wrote: > > Hello > > I've used "inst_stored:stores

Re: [perfmon2] deterministic event on 8-core Intel i7 processor

2010-03-09 Thread heechul Yun
I am very sorry for the prior message which is sent accidentally during writing. I used perf_examples/task.c and performed the following simple measurement for 'ls' command several times. ./task ls -e "BR_INST_RETIRED" 686804 BR_INST_RETIRED <-- first execution 686

[perfmon2] multiple definition of `per_cpu__saved_global_ctrl'

2010-03-09 Thread Keith Edmunds
Kernel 2.6.29.5, vanilla, patched from perfmon-new-base-090622. I get the following error: CC arch/x86/perfmon/perfmon_pebs_core_smpl.o CC arch/x86/perfmon/perfmon_amd64.o CC arch/x86/perfmon/perfmon_intel_atom.o CC arch/x86/perfmon/perfmon_intel_nhm.o LD arch/x8

Re: [perfmon2] deterministic event on 8-core Intel i7 processor

2010-03-09 Thread stephane eranian
On Tue, Mar 9, 2010 at 11:21 AM, heechul Yun wrote: > I am very sorry for the prior message which is sent accidentally during > writing. > I used perf_examples/task.c and performed the following simple measurement > for 'ls' command several times. > > ./task ls  -e "BR_INST_RETIRED" >             

Re: [perfmon2] multiple definition of `per_cpu__saved_global_ctrl'

2010-03-09 Thread stephane eranian
On Tue, Mar 9, 2010 at 12:20 PM, Keith Edmunds wrote: > Kernel 2.6.29.5, vanilla, patched from perfmon-new-base-090622. I get the > following error: > >  CC      arch/x86/perfmon/perfmon_pebs_core_smpl.o >  CC      arch/x86/perfmon/perfmon_amd64.o >  CC      arch/x86/perfmon/perfmon_intel_atom.o >

Re: [perfmon2] deterministic event on 8-core Intel i7 processor

2010-03-09 Thread heechul Yun
On Tue, Mar 9, 2010 at 3:06 PM, stephane eranian wrote: > On Tue, Mar 9, 2010 at 11:21 AM, heechul Yun > wrote: > > I am very sorry for the prior message which is sent accidentally during > > writing. > > I used perf_examples/task.c and performed the following simple > measurement > > for 'ls' co

Re: [perfmon2] multiple definition of `per_cpu__saved_global_ctrl'

2010-03-09 Thread Keith Edmunds
> But it depends on what you want to do. I want to be able to build a kernel that can run pfmon on a Xeon CPU. I don't really mind exactly what version of kernel. Is there a kernel+patch combination that will work? Thanks. -

Re: [perfmon2] multiple definition of `per_cpu__saved_global_ctrl'

2010-03-09 Thread stephane eranian
On Tue, Mar 9, 2010 at 2:10 PM, Keith Edmunds wrote: >> But it depends on what you want to do. > > I want to be able to build a kernel that can run pfmon on a Xeon CPU. I > don't really mind exactly what version of kernel. Is there a kernel+patch > combination that will work? > I recommend using t