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

Close

Commit [88e125] Maximize Restore History

Switch operf from popt to getopt

Using popt to parse command line arguments for operf did not
work properly for cases where an application to profile is
passed in, along with some app arguments that happen to have
option names the same as operf. Therefore, operf has been
changed to use getopt_long. This decision to not use popt
negated the reason for the changes made to oprofile's libopt++
popt_option.[c|h] files back when operf was first introduced;
thus, those changes are reverted with this patch.

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>

Maynard Johnson Maynard Johnson 2012-06-11

changed configure.in
changed doc
changed doc/operf.1.in
changed libabi
changed libabi/opimport.cpp
changed libopt++
changed libopt++/popt_options.cpp
changed libopt++/popt_options.h
changed pe_profiling
changed pe_profiling/Makefile.am
changed pe_profiling/operf.cpp
changed pp
changed pp/common_option.cpp
configure.in Diff Switch to side-by-side view
Loading...
doc
Directory.
doc/operf.1.in Diff Switch to side-by-side view
Loading...
libabi
Directory.
libabi/opimport.cpp Diff Switch to side-by-side view
Loading...
libopt++
Directory.
libopt++/popt_options.cpp Diff Switch to side-by-side view
Loading...
libopt++/popt_options.h Diff Switch to side-by-side view
Loading...
pe_profiling
Directory.
pe_profiling/Makefile.am Diff Switch to side-by-side view
Loading...
pe_profiling/operf.cpp Diff Switch to side-by-side view
Loading...
pp
Directory.
pp/common_option.cpp Diff Switch to side-by-side view
Loading...