On Wed, Apr 20, 2011 at 7:40 AM, Woomin Hwang <wmhw...@core.kaist.ac.kr> wrote: > Hi all, > > > > Currently I’m trying to get performance counter’s information inside the > Linux kernel. > > As far as I know, functions in the libpfm4 are for the user level > applications using system call. > > Is there any function/tools I can use in the Linux kernel? > > The tool is called perf. It is shipped with the linux kernel source code. Look in tools/perf. Some distros may already ship it as a standalone package.
------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel