qprof1
Profiling tool
Usage
qprof [{-r | -v}]
[-i
time]
[-b
size]
[{-g
instruction | line | function}]
[-a
path]
[-w
cols]
[{-c
red | blue | green | ECMA}]
[-e
hwevnt]
[-o
file]
[-s]
[-q
dir]
command
Overview
A simple profiling utility
Options
-
-v -
Use virtual (user mode) time for profiling
-
-i time -
Microseconds or events between profiling ticks. 0Default 10,000 usecs or 10,000 events.
-
-b size -
Size of PC sample buffer entries. Default 400K.
-
-g gran -
Granularity; set to instruction, line or function
-
-a path -
Path of addr2line command. Default /usr/bin/addr2line.
-
-w col -
Number of columns in output
-
-c -
color red blue green or an ECMA color.
-
-e -
hwevnt Hardware event timer (see /usr/share/doc/qprof)
-
-o -
file Output file if not stderr
-
-s -
Include PC values on call stack
-
-q -
dir Directory for q-tools compatible profile information
Environment
qprof depends on setting the LD_PRELOAD environment variable to work correctly.