Query: pmcannotate
OS: freebsd
Section: 8
Links: freebsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PMCANNOTATE(8) BSD System Manager's Manual PMCANNOTATE(8)NAMEpmcannotate -- sources printout with inlined profilingSYNOPSISpmcannotate [-a] [-h] [-k pathname] [-l level] pmcout.out binaryobjDESCRIPTIONThe pmcannotate 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 pmcstat(8) raw output while the program operations are retrieved through the objdump(1) tool. When calling pmcannotate the raw output is passed through the pmcout.out argument, while the program is passed through the binaryobj argu- ment. As long as pmcannotate relies on objdump(1) and pmcstat(8) to work, it will fail if one of them is not available.OPTIONSThe following options are available: -a Shows the program profiling inlined in the assembly code only. No C information involving C sources is provided. -h Prints out information about the usage of the tool. -l level Changes the lower bound (expressed in percentage) for traced functions that will be printed out in the report. The default value is 0.5%. -k kerneldir Set the pathname of the kernel directory to argument kerneldir. This directory specifies where pmcannotate should look for the ker- nel and its modules. The default is /boot/kernel.LIMITATIONSAs long as pmcannotate relies on the objdump(1) utility to retrieve the C code, the program needs to be compiled with debugging options. Sometimes, in particular with heavy optimization levels, the objdump(1) utility embeds the code of inlining functions directly in the call- ers, 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 of interest.SEE ALSOobjdump(1), pmcstat(8)AUTHORSAttilio Rao <attilio@FreeBSD.org>BSDNovember 20, 2008 BSD
Related Man Pages |
---|
opannotate(1) - centos |
profil(2) - freebsd |
pmcannotate(8) - freebsd |
opannotate(1) - v7 |
opannotate(1) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
C profiling tool for AIX |