EnglishFrenchSpanish

OnWorks favicon

opannotate - Online in the Cloud

Run opannotate in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command opannotate that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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 specifications.

OPTIONS


--assembly / -a
Output annotated assembly. The binary file to be annotated does not need full
debugging information to use this option, but symbol information is required.
Without symbol information, opannotate 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 profile session used --separate.

--exclude-file [files]
Exclude all files in the given comma-separated list of glob patterns. This option
is supported solely with the --source option. It can be used to filter out source
files in the output using the following types of specifications:

· filenames (basename -- i.e., no path)

· filename glob specifications (all files whose base filename matches the given
pattern)

· directory segments (all source files located in the specified directory; e.g.
"libio")

· directory segment glob specifications (e.g., "libi*")

--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. The same
rules apply for this option as for the --exclude-file option.

--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 parameters 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 conjunction 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
location. If --session-dir is not specified, then opannotate will search for
samples in <current_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]
For annotated assembly, only output data for symbols that have more than the given
percentage of total samples. For profiles using multiple events, if the threshold
is reached for any event, then all sample data for the symbol is shown.

For annotated source, only output data for source files that have more than the
given percentage of total samples. For profiles using multiple events, if the
threshold is reached for any event, then all sample data for the source file is
shown.

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

--version / -v
Show version.

ENVIRONMENT


No special environment variables are recognised by opannotate.

Use opannotate online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 2
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 3
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 4
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 5
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 6
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • More »

Linux commands

  • 1
    a2query
    a2query
    a2query - retrieve runtime
    configuration from a local Apache 2 HTTP
    server ...
    Run a2query
  • 2
    a2x
    a2x
    a2x - A toolchain manager for AsciiDoc
    (converts Asciidoc text files to other
    file formats) ...
    Run a2x
  • 3
    crlutil
    crlutil
    crlutil - List, generate, modify, or
    delete CRLs within the NSS security
    database file(s) and list, create,
    modify or delete certificates entries in
    a particul...
    Run crlutil
  • 4
    crm
    crm
    Use crm online using onworks.net
    services. ...
    Run crm
  • 5
    FvwmProxy
    FvwmProxy
    FvwmProxy - the fvwm proxy module ...
    Run FvwmProxy
  • 6
    FvwmRearrange
    FvwmRearrange
    FvwmRearrange - rearrange fvwm windows ...
    Run FvwmRearrange
  • More »

Ad