Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162367 - add perfmon2 patchset to kernel
Summary: add perfmon2 patchset to kernel
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://perfmon2.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-16 15:12 UTC by richard Groux
Modified: 2007-01-16 21:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richard Groux 2007-01-16 15:12:44 UTC
can yu add the perfmon2 patches to the kernel.

it s very usefull for program debugin, more than oprofile
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 18:46:47 UTC
No, please review http://dev.gentoo.org/~dsd/genpatches/faq.htm
Comment 2 richard Groux 2007-01-16 21:42:01 UTC
(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.