Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual page 569

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

Advertisement

3
5.3571
3
5.3571
3
5.3571
2
3.5714
2
3.5714
2
3.5714
2
3.5714
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
1
1.7857
The first column is the number of samples for the symbol, the second column is the percentage of
samples for this symbol relative to the overall samples for the executable, and the third column is
the symbol name.
To sort the output from the largest number of samples to the smallest (reverse order), use -r in
conjunction with the -l option.
-i <symbol-name>
List sample data specific to a symbol name. For example, the following output is from the
command opreport -l -i __gconv_transform_utf8_internal /lib/tls/
libc-<version>.so:
samples
%
12
100.000
The first line is a summary for the symbol/executable combination.
The first column is the number of samples for the memory symbol. The second column is the
percentage of samples for the memory address relative to the total number of samples for the
symbol. The third column is the symbol name.
-d
List sample data by symbols with more detail than -l. For example, the following output is from
the command opreport -l -d __gconv_transform_utf8_internal /lib/tls/
libc-<version>.so:
vma
samples
00a98640 12
00a98640 1
00a9868c 2
00a9869a 1
00a986c1 1
00a98720 1
_dl_mcount_wrapper_check
mbrtowc
memcpy
_int_realloc
_nl_intern_locale_data
free
strcmp
__ctype_get_mb_cur_max
__unregister_atfork
__write_nocancel
_dl_addr
_int_free
_itoa_word
calc_eclosure_iter
fopen@@GLIBC_2.1
getpid
memmove
msort_with_tmp
strcpy
strlen
vfprintf
write
symbol name
__gconv_transform_utf8_internal
%
symbol name
100.000
__gconv_transform_utf8_internal
8.3333
16.6667
8.3333
8.3333
8.3333
Using opreport on a Single Executable
543

Advertisement

Table of Contents
loading

Table of Contents