Pradeep,

On Fri, Jul 18, 2008 at 6:35 AM, Pradeep Rao <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have some trouble getting the multiplex.c example to run on my platform:
> kernel 2.6.25, Opteron model 254
>
> Any idea what I'm missing ? (systemwide monitoring using pfmon works though;)

Which version of libpfm/pfmon are you using?

Looks like a mismatch between libpfm and the kernel version.


>
>
> $ multiplex --verbose --system-wide -k -- ../../pfmon/tests/noploop
> sycall base 288
> AMD family=15 model=0x25 stepping=0x1 rev=E (K8 RevE)
> 300 Hz period = 9303333 cycles @ 2791 Mhz
> total_events=2
> PMU programming for set 0
> [PERFSEL0(pmc0)=0x520076 emask=0x76 umask=0x0 os=1 usr=0 inv=0 en=1 int=1 
> edge=0
> cnt_mask=0] CPU_CLK_UNHALTED
> [PERFCTR0(pmd0)]
> set0 pmc_base=0 pmd_base=0 npmcs=1 npmds=1
> PMU programming for set 1
> [PERFSEL0(pmc0)=0x5200c0 emask=0xc0 umask=0x0 os=1 usr=0 inv=0 en=1 int=1 
> edge=0
> cnt_mask=0] RETIRED_INSTRUCTIONS
> [PERFCTR0(pmd0)]
> set1 pmc_base=1 pmd_base=1 npmcs=1 npmds=1
> forcing monitoring onto CPU core 0
> child created and stopped
> pfm_load_context error errno 22
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> noploop for 1 seconds
>
> Regards,
> Pradeep
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to