Using Opreport On A Single Executable - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 39. OProfile
The following is part of a sample output:
Profiling through timer interrupt
TIMER:0|
samples|
%|
------------------
25926 97.5212 no-vmlinux
359
1.3504 pi
65
0.2445 Xorg
62
0.2332 libvte.so.4.4.0
56
0.2106 libc-2.3.4.so
34
0.1279 libglib-2.0.so.0.400.7
19
0.0715 libXft.so.2.1.2
17
0.0639 bash
8
0.0301 ld-2.3.4.so
8
0.0301 libgdk-x11-2.0.so.0.400.13
6
0.0226 libgobject-2.0.so.0.400.7
5
0.0188 oprofiled
4
0.0150 libpthread-2.3.4.so
4
0.0150 libgtk-x11-2.0.so.0.400.13
3
0.0113 libXrender.so.1.2.2
3
0.0113 du
1
0.0038 libcrypto.so.0.9.7a
1
0.0038 libpam.so.0.77
1
0.0038 libtermcap.so.2.0.8
1
0.0038 libX11.so.6.2
1
0.0038 libgthread-2.0.so.0.400.7
1
0.0038 libwnck-1.so.4.9.0
Each executable is listed on its own line. The first column is the number of samples recorded for the
executable. The second column is the percentage of samples relative to the total number of samples.
The third column is the name of the executable.
Refer to the opreport man page for a list of available command line options, such as the -r option
used to sort the output from the executable with the smallest number of samples to the one with the
largest number of samples.

39.5.2. Using opreport on a Single Executable

To retrieve more detailed profiled information about a specific executable, use opreport:
opreport <mode> <executable>
<executable> must be the full path to the executable to be analyzed. <mode> must be one of the
following:
-l
List sample data by symbols. For example, the following is part of the output from running the
command opreport -l /lib/tls/libc-<version>.so:
samples
%
12
21.4286
5
8.9286
4
7.1429
3
5.3571
542
symbol name
__gconv_transform_utf8_internal
_int_malloc
malloc
__i686.get_pc_thunk.bx

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Table of Contents