opannotate man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

OPANNOTATE(1)							 OPANNOTATE(1)

NAME
       opannotate - produce source or assembly annotated with profile data

SYNOPSIS
       opannotate [ options ] [profile specification]

DESCRIPTION
       opannotate  outputs  annotated source and/or assembly from profile data
       of an OProfile session. See oprofile(1) for how to write profile speci‐
       fications.

OPTIONS
       --assembly / -a
	      Output  annotated assembly. The binary file to be annotated does
	      not need full debugging information to use this option, but sym‐
	      bol information is required. Without symbol information, opanno‐
	      tate will silently refuse	 to  annotate  the  binary.   If  this
	      option  is  combined with --source, then mixed source / assembly
	      annotations are output.

       --demangle / -D none|smart|normal
	      none: no demangling. normal:  use	 default  demangler  (default)
	      smart:  use  pattern-matching to make C++ symbol demangling more
	      readable.

       --exclude-dependent / -x
	      Do not include application-specific images for libraries, kernel
	      modules and the kernel. This option only makes sense if the pro‐
	      file session used --separate.

       --exclude-file [files]
	      Exclude all files in the given comma-separated list of glob pat‐
	      terns.

       --exclude-symbols / -e [symbols]
	      Exclude all the symbols in the given comma-separated list.

       --help / -? / --usage
	      Show help message.

       --image-path / -p [paths]
	      Comma-separated list of additional paths to search for binaries.
	      This is needed to find modules in kernels 2.6 and upwards.

       --root / -R [path]
	      A path to a filesystem to search for additional binaries.

       --include-file [files]
	      Only include files in the given  comma-separated	list  of  glob
	      patterns.

       --merge / -m [lib,cpu,tid,tgid,unitmask,all]
	      Merge any profiles separated in a --separate session.

       --include-symbols / -i [symbols]
	      Only include symbols in the given comma-separated list.

       --objdump-params [params]
	      Pass  the given parameters as extra values when calling objdump.
	      If more than one option is to be passed to objdump, the  parame‐
	      ters must be enclosed in a quoted string.

	      An example of where this option is useful is when your toolchain
	      does not automatically recognize instructions that are  specific
	      to  your	processor.  For example, on IBM POWER7/RHEL 6, objdump
	      must be  told  that  a  binary  file  may	 have  POWER7-specific
	      instructions.  The opannotate option to show the POWER7-specific
	      instructions is:
		 --objdump-params=-Mpower7

	      The opannotate option to show the POWER7-specific	 instructions,
	      the source code (--source) and the line numbers (-l) would be:
		 --objdump-params="-Mpower7 -l --source"

       --output-dir / -o [dir]
	      Output  directory.  This	makes  opannotate output one annotated
	      file for each source file. This option can't be used in conjunc‐
	      tion with --assembly.

       --search-dirs / -d [paths]
	      Comma-separated  list  of	 paths to search for source files. You
	      may need to use this option when the debug  information  for  an
	      image contains relative paths.

       --base-dirs / -b [paths]
	      Comma-separated  list of paths to strip from debug source files,
	      prior to looking for them in --search-dirs.

       --session-dir=dir_path
	      Use  sample  database  from  the	specified  directory  dir_path
	      instead of the default locations. If --session-dir is not speci‐
	      fied,  then  opannotate  will  search  for  samples   in	 <cur‐
	      rent_dir>/oprofile_data first. If that directory does not exist,
	      the standard session-dir of /var/lib/oprofile is used.

       --source / -s
	      Output annotated source. This requires debugging information  to
	      be available for the binaries.

       --threshold / -t [percentage]
	      Only  output data for symbols that have more than the given per‐
	      centage of total samples.

       --verbose / -V [options]
	      Give verbose debugging output.

       --version / -v
	      Show version.

ENVIRONMENT
       No special environment variables are recognised by opannotate.

FILES
       <current_dir>/oprofile_data/samples
	      Or
       /var/lib/oprofile/samples/

	      The location of the generated sample files.

VERSION
       This man page is current for oprofile-0.9.9.

SEE ALSO
       /usr/share/doc/oprofile/, oprofile(1)

4th Berkeley Distribution     Tue 06 August 2013		 OPANNOTATE(1)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net