12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OProfile 455To further customize the report, provide the full path to an executable:opcontrol The must include the full path and must be the exact executable used whencollecting the samples.The output can be customized in a variety of ways using command-line options such asopreport -a --symbols to list the symbols in addition to the default information shown.Refer to Table 22.2 for a list of command-line options for opreport.22TABLE 22.2 Command-Line Options for opreportCommand-Line Option Description-a Display accumulated sample and percentage counts in the symbol list.-g Display source file and line number for each symbol in the symbol list.-D Set to none, smart, or normal. If set to none, there isno demangling. If set to normal, the default demangler is used. Ifset to smart, pattern-matching is used to make symbol demanglingmore readable.-c Display call graph data if available.-d Display per-instruction details for selected symbols.-x If --separate is used, using this option excludes applicationspecificimages for libraries, kernel modules, and the kernel.-e Exclude the comma-separated list of symbols from the symbols list.-% Calculate percentages as percentages relative to the entire profile.--helpDisplay brief usage and command-line options list.-p Search for binaries in the comma-separated list of directory paths.-i Only include these symbols in the symbols list. List should becomma separated.-f Display full paths instead of just filenames.-m Merge comma-separated list of profiles that were separated with--separate. List of profiles can include lib, cpu, tid, tgid,unitmask, and all.--no-headerDon’t display header.-o Write output to .-r Sort in the reverse order.-w Display the VMA address of each symbol.-s Sort the symbols list by method given by . can beone of the following:vma: Sort by symbol address.sample: Sort by the number of samples.symbol: Sort by symbol name.debug: Sort by debug filename and line number.image: Sort by binary image filename.-l Display per-symbol information in list instead of binary imagesummary.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!