Manual Reference Pages - PMCANNOTATE (8)
- sources printout with inlined profiling
utility can produce both C sources or assembly sources of a program with
a line-by-line based profiling.
The profiling information is retrieved through a
raw output while the program operations are retrieved through the
the raw output is passed through the
argument, while the program is passed through the
As long as
to work, it will fail if one of them is not available.
The following options are available:
Shows the program profiling inlined in the assembly code only.
No C information involving C sources is provided.
Prints out information about the usage of the tool.
Changes the lower bound (expressed in percentage) for traced functions
that will be printed out in the report.
The default value is 0.5%.
Set the pathname of the kernel directory to argument
This directory specifies where
should look for the kernel and its modules.
The default is
As long as
relies on the
utility to retrieve the C code, the program needs to be compiled with
Sometimes, in particular with heavy optimization levels, the
utility embeds the code of inlining functions directly in the callers,
making an output difficult to read.
The x86 version reports the sampling from pmcstat collecting the following
instruction in regard of the interrupted one.
This means that the samples may be attributed to the line below the one
.An Attilio Rao Aq attilio@FreeBSD.org
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.