can yu add the perfmon2 patches to the kernel. it s very usefull for program debugin, more than oprofile
No, please review http://dev.gentoo.org/~dsd/genpatches/faq.htm
(In reply to comment #1) > No, please review http://dev.gentoo.org/~dsd/genpatches/faq.htm > there are no answer for me here. perfmon2 is the hardware-based performance monitoring interface for Linux Pfmon is a performance monitoring tool uniquely designed for Linux. Pfmon can be used to count or sample on unmodified program or across an entire system. Pfmon supports the performance counters of all Itanium processors, Intel Pentium M, P6, Pentium 4/Xeon, Intel Core Duo/Solo, Intel Core 2 Duo, as well as AMD X86-64 processors. Pfmon can be used to monitor unmodified binaries in its per-thread mode and it can also be used to run system wide monitoring sessions. Such sessions are active across all threads executing on a given CPU. Pfmon can launch a system wide session on a dedicated CPU or set of CPUs in parallel. Pfmon can monitor activities happening at the user and/or kernel level for both type of sessions. Pfmon can be used to collect basic event counts. It can also be used to sample program or system execution. In per-thread mode, pfmon can monitor the first (master) thread of a process but it can also follow fork, vfork and pthread-create by dynamically creating additional monitoring sessions. Pfmon is based on a generic helper library called libpfm which is not included in this package but can be downloaded and installed separately. This version of pfmon requires libpfm-3.2 or higher.