hello,
     I want to monitor multiple processes simultaneously(5 or more), and I set 
every context flag to PFM_FL_NOTIFY_BLOCK,
after I get the message PFM_MSG_OVFL, first I stop the process by 
PTRACE_ATTACH, then process the buffer, then restart
perfmon by perfmonctl(PFM_RESTART), at last let the process run by 
PTRACE_DETACH.
    The problem is I can only got the overflow message once, after DETACH the 
process, the process itself seemed
continued, but perfmon is still stop, I remove the context flag 
"PFM_FL_NOTIFY_BLOCK", all seemed works well.
    What's the problem? Thank You

2008-08-05 



xudi 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to