On Wed, Jul 22, 2009 at 8:29 PM, Corey J Ashford wrote:
> I know for a fact that it's possible to ptrace attach to threads (tasks).
> We have a tool which relies on that + perfmon2 for per-thread performance
> monitoring.
>
> If you are really curious, you could start digging into the kernel code t
could be the problem. May be ptrace does not allow
> > threadID as parameter. When will the version 2.6.30 be available?
> >
> > Thanks
> > Tanima.
> >
> > From: Corey J Ashford
> > To: Tanima Dey
> > Cc: Corey Ashford ; Perfmon > de...@l
; Cc: Corey Ashford ; Perfmon de...@lists.sourceforge.net>
> Sent: Tuesday, July 21, 2009 12:12:15 AM
> Subject: Re: [perfmon2] About per-thread monitoring
> Hi Tanima,
>
> Does the " fprintf(stdout, "apptid %d gettid(): %d \n",apptid,
> gettid());" at l
a Dey
Cc: Corey Ashford ; Perfmon
Sent: Tuesday, July 21, 2009 12:12:15 AM
Subject: Re: [perfmon2] About per-thread monitoring
Hi Tanima,
Does the " fprintf(stdout, "apptid %d gettid(): %d \n",apptid, gettid());" at
line 136 print correct looking task ids? If the apptid is
, Perfmon de...@lists.sourceforge.net>
>
> Subject
>
> Re: [perfmon2] About per-thread monitoring>,
>
> Hi,
> I am attaching the code.
> Thank you very much.
> Tanima.>
>
> From: Corey J Ashford
> To: Tanima Dey
> Cc: Corey Ashford ; Perfmon de...@li
Hi,
I am attaching the code.
Thank you very much.
Tanima.
From: Corey J Ashford
To: Tanima Dey
Cc: Corey Ashford ; Perfmon
Sent: Saturday, July 18, 2009 10:26:11 PM
Subject: Re: [perfmon2] About per-thread monitoring
Can you post the code where you are
gt;> Tanima Dey
>> 07/18/2009 03:55 PM
>>
>> To
>
>>
>> Corey Ashford
>>
>> cc
>>
>> Perfmon
>>
>> Subject
>>
>> Re: [perfmon2] About per-thread monitoring
>>
>> Hi,
>> Yes, I have studied that exampl
working... it takes task ids, rather than pthread ids.
- Corey
Tanima Dey wrote on 07/18/2009 03:55:02 PM:
> Tanima Dey
> 07/18/2009 03:55 PM
>
> To
>
> Corey Ashford
>
> cc
>
> Perfmon
>
> Subject
>
> Re: [perfmon2] About per-thread monitoring
>
s not permitted"
Can you help?
Thanks
Tanima.
From: Corey Ashford
To: Tanima Dey
Cc: Perfmon
Sent: Friday, July 17, 2009 6:20:09 PM
Subject: Re: [perfmon2] About per-thread monitoring
On 07/16/2009 04:33 PM, Tanima Dey wrote:
>
> Hi,
>
> Thanks
On 07/16/2009 04:33 PM, Tanima Dey wrote:
>
> Hi,
>
> Thanks for the reply.
>
> It is mentioned in the manual that the thread to which the context is
> attached is the monitored thread, in my case then it is the application
> thread to which the context should be loaded, right? If it is so, I am
>
monitoring
using threads?
Regards
Tanima.
From: stephane eranian
To: Tanima Dey
Cc: Perfmon
Sent: Thursday, July 16, 2009 3:08:22 PM
Subject: Re: [perfmon2] About per-thread monitoring
Hi,
On Thu, Jul 16, 2009 at 6:24 PM, Tanima Dey wrote:
> Hi,
>
Hi,
On Thu, Jul 16, 2009 at 6:24 PM, Tanima Dey wrote:
> Hi,
> I am trying to read the performance counters for the per-thread non-self
> monitoring session. There will be two threads, application and the monitor
> thread. The application will be running itself and the monitor thread will
> read
nt to attach or read the
counts, but ptrace is used only to stop a process, but not a specific thread.
Can you help?
Thanks
Regards
Tanima.
From: stephane eranian
To: Tanima Dey
Cc: Perfmon
Sent: Wednesday, July 15, 2009 2:07:32 PM
Subject: Re: [perfmo
Tamina,
On Wed, Jul 15, 2009 at 4:40 PM, Tanima Dey wrote:
> Hi,
>
> Perfmon supports both system-wide and per-thread monitoring session. I have
> a conceptual question regarding the per-thread monitoring.
>
> Consider we have two threads, application thread and monitoring thread. The
> appThread
14 matches
Mail list logo