From: Maynard J. <may...@us...> - 2012-06-11 15:27:14
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "oprofile". The branch, perf-events has been updated via 88e12511b0bd5f7ee65b28c1e3bed001898c078a (commit) from da15d57a4a0484a6e36e425c30c0ce3b1559ea3b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 88e12511b0bd5f7ee65b28c1e3bed001898c078a Author: Maynard Johnson <may...@us...> Date: Mon Jun 11 10:10:58 2012 -0500 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 <may...@us...> ----------------------------------------------------------------------- Summary of changes: configure.in | 1 - doc/operf.1.in | 2 +- libabi/opimport.cpp | 2 +- libopt++/popt_options.cpp | 38 ++------ libopt++/popt_options.h | 5 +- pe_profiling/Makefile.am | 4 +- pe_profiling/operf.cpp | 205 ++++++++++++++++++++++++++++++++++----------- pp/common_option.cpp | 2 +- 8 files changed, 171 insertions(+), 88 deletions(-) hooks/post-receive -- oprofile |