On Wed, Jul 22, 2009 at 8:29 PM, Corey J Ashford<cjash...@us.ibm.com> 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 to > figure out where that "operation not permitted" error is coming from, and > perhaps that could lead to a clue as to what is going on. > > On the other hand, Stephane the 2.6.30 perfmon2 won't require ptrace, so > if you can wait, that would be a better solution. >
There is now enough support in 2.6.30 perfmon GIT tree for you to try your program. No more ptrace(). ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel