Hi,

pfmon version is 3.2, and libpfm 3.2.0. Although I am not the admin of
the shared memory machine I am working on, I am almost sure it was
installed from the sourceforge website. Is it a too old version?

El lun, 01-09-2008 a las 15:03 +0200, stephane eranian escribió:
> Juan,
> 
> Are you using the latest pfmon/libpfm from the website/CVS?
> 
> 
> On Mon, Sep 1, 2008 at 2:41 PM, Juan Ángel Lorenzo
> <[EMAIL PROTECTED]> wrote:
> > Stéphane,
> >
> > I have modified the program to print the thread number inside the
> > producto() function and I ran it with one thread. See the output below:
> >
> >  pfmon -uk  --verb --follow-pthread --trigger-code-start=producto
> > --trigger-code-stop=producto --trigger-code-follow
> > -eIA64_INST_RETIRED,CPU_OP_CYCLES_ALL ./msxm_ijk_MP_COL
> > MATRICES/bcsstm36.rcs 25
> >
> > Hi, I'm thread 0
> > Hi, I'm thread 0
> > ......
> > Hi, I'm thread 0
> > Hi, I'm thread 0
> >
> > loaded 18427 text symbols from /proc/kallsyms
> > loaded 13140 data symbols from /proc/kallsyms
> > table_size=166 effective=19 min_addr=0x4000000000000ae0
> > loaded 19 text symbols from ELF file ./msxm_ijk_MP_COL
> > table_size=166 effective=15 min_addr=0x6000000000003a50
> > loaded 15 data symbols from ELF file ./msxm_ijk_MP_COL
> > 1 event set(s) defined
> > long  sampling periods(val/mask/seed): 0/0x0/00/0x0/0
> > short sampling periods(val/mask/seed): 0/0x0/00/0x0/0
> > start code trigger @0x40000000000021c0
> > stop  code trigger @0x40000000000021c0
> > [PMC4(pmc4)=0x2000809 m=0 e=0 s=0 i=0 thres=0 all=0 es=0x08 plm=9
> > umask=0x0 pm=0 ism=0x2 oi=0] IA64_INST_RETIRED
> > [PMD4(pmd4)]
> > [PMC5(pmc5)=0x2001209 m=0 e=0 s=0 i=0 thres=0 all=0 es=0x12 plm=9
> > umask=0x0 pm=0 ism=0x2 oi=0] CPU_OP_CYCLES_ALL
> > [PMD5(pmd5)]
> > pmd setup for event set0:
> > [pmd4 set=0 ival=0x0 long_rate=0x0 short_rate=0x0 mask=0x0 seed=0
> > randomize=n]
> > [pmd5 set=0 ival=0x0 long_rate=0x0 short_rate=0x0 mask=0x0 seed=0
> > randomize=n]
> > exec-pattern=*
> > [3427] started task: ./msxm_ijk_MP_COL MATRICES/bcsstm36.rcs 25
> > follow_exec=n follow_vfork=n follow_fork=n follow_pthread=y
> > [3427] monitoring ./msxm_ijk_MP_COL MATRICES/bcsstm36.rcs 25 ...
> > results are on terminal
> > [3427] installed start code breakpoint at 0x40000000000021c0
> > [3427] monitoring not activated
> > measurements started at Mon Sep  1 14:29:10 2008
> >
> > [3427] clone [3428]
> > [3428] monitoring ./msxm_ijk_MP_COL MATRICES/bcsstm36.rcs 25 ...
> > results are on terminal
> > [3428] installed start code breakpoint at 0x40000000000021c0
> > [3428] monitoring not activated
> > [3428] task exited
> >                         0 IA64_INST_RETIRED ./msxm_ijk_MP_COL
> > (3427,3428,3427)
> >                         0 CPU_OP_CYCLES_ALL ./msxm_ijk_MP_COL
> > (3427,3428,3427)
> > [3428] detached
> > [3427] task exited
> >                         0 IA64_INST_RETIRED ./msxm_ijk_MP_COL
> > (3427,3427,-1)
> >                         0 CPU_OP_CYCLES_ALL ./msxm_ijk_MP_COL
> > (3427,3427,-1)
> > [3427] detached
> > created tasks        : 2
> > maximum tasks        : 2
> > maximum active tasks : 2
> > measurements completed at Mon Sep  1 14:29:18 2008
> >
> >
> > Juan Ángel
> >
> > El lun, 01-09-2008 a las 14:14 +0200, stephane eranian escribió:
> >> Juan,
> >>
> >>
> >> I would like you to try and run your program with only one thread active.
> >> From the trace below, it looks like you never reach the start trigger 
> >> location.
> >> You could also modify the program to print something in producto() just to
> >> make sure.
> >>
> >>
> >> > start code trigger @0x4000000000002200
> >> > stop  code trigger @0x4000000000002200
> >> > [15536] installed start code breakpoint at 0x4000000000002200
> >> > [15536] monitoring not activated
> >> > measurements started at Fri Aug 29 15:31:36 2008
> >> > [15536] clone [15537]
> >> > [15536] clone [15538]
> >> > [15537] monitoring ./msxm_ijk_MP_COL MATRICES/bcsstm36.rcs 25 ...
> >> > [15537] installed start code breakpoint at 0x4000000000002200
> >> > [15538] installed start code breakpoint at 0x4000000000002200
> >> > Tiempo de ejecucion: 0.035023
> >
> >


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to