Hi,
Thanks for the reply.
To get the version of the perfmon tool, I used pfm_get_version() and got the 
following information:

version: 196616
PFMLIB_MAJ_VERSION=3 
PFMLIB_MIN_VERSION= 8


The kernel version is: Linux 2.6.25

Actually I can read the counters normally and now am trying to read those in a 
thread using pthreads. I found one document that mentions that the context 
should be attached to a thread and that thread must be pinned to a particular 
core. I am trying to that, but it is showing me the same error message as 
follows:

 pfm_load_context error errno 1
pfm_start error errno 22
pfm_stop error errno 22

I have also tried the pfm_strerr() function to know the error name, but it 
shows the following message.

Error name: unknown error code

Can you please help?

Thanks
Tanima.



________________________________
From: stephane eranian <eran...@googlemail.com>
To: Tanima Dey <dey_tr...@yahoo.com>
Cc: perfmon2-devel@lists.sourceforge.net
Sent: Wednesday, July 1, 2009 1:09:13 AM
Subject: Re: [perfmon2] Error no

Hi,

On Sat, Jun 27, 2009 at 5:03 PM, Tanima Dey<dey_tr...@yahoo.com> wrote:
> Hi,
>
> I am a very new user of perfmon. I am getting some error messages while
> reading the performance counters:
>
> pfm_load_context error errno 1
> pfm_start error errno 22
> pfm_stop error errno 22
>
> Can anyone help? Where can I find the detailed description and list of error
> numbers for perfmon 2?
>
You need to provide more details about perfmon version, kernel
version, tool version.
Otherwise it is hard to help you.
Thanks.
> Thanks
> Tanima.
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>
>



      
------------------------------------------------------------------------------
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to