In this case, the "right thread" is the main vmware virtual machine
execution thread. Instrumenting it seems risky. My current solution
is to run a busy loop in the vm and then use ps and perl to find the
right theadid.
-steve
On Apr 29, 2008, at 9:57 AM, Corey J Ashford wrote:
Hi Steve,
Could you instrument the code containing the "right thread" and have
it do a "gettid()" call to get its pid and store it somewhere where
you can access it easily?
- Corey
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote on 04/29/2008
12:55:51 AM:
> Works now, although finding the right thread to attach to can be
> challenging.
>
> Thanks.
>
> -steve
>
>
> On Apr 28, 2008, at 10:18 PM, stephane eranian wrote:
>
> > Steve,
> >
> > Could you try pulling pfmon from CVS? I have fixed several issues
> > related to this just yesterday.
> >
> >
> > On Tue, Apr 29, 2008 at 2:18 AM, Steven Swanson
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> When I try to attach to a vmware process I get:
> >>
> >> cannot install code breakpoints @ 0xffffffffffffffff
> >>
> >> It works fine on everything else.
> >>
> >> is there a way to fix this?
> >>
> >> -steve
> >>
> >> [EMAIL PROTECTED] Tools]# uname -a
> >> Linux bb-17 2.6.24.5_ahci_3ware_perfmon #1 SMP Mon Apr 28
14:19:55
> >> PDT
> >> 2008 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> pfmon-3.3
> >> libpfmn-3.4
> >>
> >>
> >>
-------------------------------------------------------------------------
> >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> >> Don't miss this year's exciting event. There's still time to save
> >> $100.
> >> Use priority code J8TL2D2.
> >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.
> sun.com/javaone
> >> _______________________________________________
> >> perfmon2-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
> >>
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save
$100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> perfmon2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel