Reference

qprof(1)

profiling tool

NAME

qprof - profiling tool

SYNTAX

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

DESCRIPTION

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 VARIABLES

qprof depends on setting the LD_PRELOAD environment variable to work correctly.

SEE ALSO

qprof_start (1), qprof_stop (1)