Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- May 2010
- Pune, India
ptrace self & child threads by choice
To be precise, I am instrumenting Java programs. Through some capability, I can get to know when native binding occurs in this program (I can also get the corresponding OS thread at this stage). With this capability, I can get the list of OS threads(that can keep changing) that I need to monitor at my wish. for instance get the stack trace, at some frequency etc...
Have tried using ptrace, but getting issues with permissions to ATTACH & GETREGS etc.
Can someone guide me how this can be achieved?