System information

Perfmon2—Hardware-Based Performance Monitoring 95
1306604 CPU_OP_CYCLES_ALL
The following command gives the count of a specific function and the procentual
amount of the total cycles:
pfmon --no-cmd-output --short-smpl-periods=100000 -e CPU_OP_CYCLES_ALL /
bin/ls
# results for [28119:28119<-[28102]] (/bin/ls)
# total samples : 12
# total buffer overflows : 0
#
# event00
# counts %self %cum code addr
1 8.33% 8.33% 0x2000000000007180
1 8.33% 16.67% 0x20000000000195a0
1 8.33% 25.00% 0x2000000000019260
1 8.33% 33.33% 0x2000000000014e60
1 8.33% 41.67% 0x20000000001f38c0
1 8.33% 50.00% 0x20000000001ea481
1 8.33% 58.33% 0x200000000020b260
1 8.33% 66.67% 0x2000000000203490
1 8.33% 75.00% 0x2000000000203360
1 8.33% 83.33% 0x2000000000203440
1 8.33% 91.67% 0x4000000000002690
1 8.33% 100.00% 0x20000000001cfdf1
7.2 Installation
In order to use Perfmon2, first check the following preconditions:
SUSE Linux Enterprise 11
Supported architectures are IA64, x86_64. The package perf (Performance
Counters for Linux) is the supported tool for x86 and PPC64
SUSE Linux Enterprise 11 SP1
Supported architecture is IA64 only
The pfmon on SUSE Linux Enterprise11 supports the following processors (taken
from /usr/share/doc/packages/pfmon/README):
Table7.1: Supported Processors
Model Processor
Intel IA-64 Itanium (Merced), Itanium 2 (McKin-
ley, Madison, Deerfield), Itanium 2