Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [bd140d] Maximize Restore History

Oprofile, opreport: fix to pass string of options from opannotate to objdump

Currently when passing a quoted string of two or more options from
opannotate to objdump, the objdump command fails. The issue is when
an argument string passed to exec_command contains spaces.
This patch takes the quoted string of options to pass to objdump and
breaks the list of options up into individual arguments. The objdump_params
is then updated so that there is one argument in each element of the vector
rather than string elements that may contain spaces.

This patch also updates the man page with examples of how to pass options
to the objdump from the opreport command.

Signed-off-by: Carl Love <cel@us.ibm.com>

Carl Love Carl Love 2012-08-06

Maynard Johnson Maynard Johnson 2012-08-06

changed doc
changed doc/opannotate.1.in
changed pp
changed pp/opannotate_options.cpp
doc
Directory.
doc/opannotate.1.in Diff Switch to side-by-side view
Loading...
pp
Directory.
pp/opannotate_options.cpp Diff Switch to side-by-side view
Loading...