Hi,

I have been taking a look at getting the perfmon patches working on the Fedora
Core 7 (Raw Hide) Kernels. The Fedora Core kernels replace ptrace with utrace
and a compatibility layer. The utrace patches remove the function
ptrace_check_attach() and the internals of ptrace are not generally available.

The ptrace_check_attach() make sure the process's perfmon context being modified
is stopped and the performance monitoring state is in the process state
information. The stopped process restarted is restarted in user space with a
PTRACE_CONT call. Is there anything else that is going on with using ptrace for perfmon2?

-Will

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to