oprofile Log


Commit Date  
[2dcd13] by William Cohen William Cohen , pushed by Maynard Johnson Maynard Johnson

Avoid changing the number formatting for cout and cerr streams

Coverity static tool found a number of places where number formatting
was changed and might lead to some oddly formatted output for later
stream output. This patch ensures that the number formatting only
applies to that particular message.

Signed-off-by: William Cohen <wcohen@redhat.com>

2013-06-05 18:14:43 Tree
[df62a5] by William Cohen William Cohen , pushed by Maynard Johnson Maynard Johnson

Fix ASSERT_SIDE_EFFECT problems found by coverity scan

Coverity pointed out that the some asserts in opimport.cpp had
assigments in them. The assigments should be outside the asserts and
the asserts should only evalate values and be side-effect free.

Signed-off-by: William Cohen <wcohen@redhat.com>

2013-01-15 18:39:19 Tree
[d434e7] by Maynard Johnson Maynard Johnson

Fix opimport to match change in mtime type

See commit 1be0be0f0d47add0a8231074717ed40edd5abf8b for details
on mtime type change.

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

2012-08-08 17:39:25 Tree
[9a8869] by Maynard Johnson Maynard Johnson

Fix opimport to not try to import .jo ELF files

If JIT profiling was done on the target system (e.g., passing
'-agentlib:jvmti_oprofile' to the JVM), then a synthesized ELF
file named "<pid>.jo" will be created for each JVM that was profiled,
and this file will be stored in the samples directory. However, we
do no want opimport to treat such files as sample data files, because
it may corrupt them and make them unreadable for when opreport tries
to get symbol information from it.

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

2012-08-06 22:03:14 Tree
[8f12d5] by Maynard Johnson Maynard Johnson

Fix configure to not alter user variables and remove non-working --with-gcc option

The configure script for oprofile had a few places
where user variables were being altered in contradiction
to the GNU Automake manual. See the following URL for details:

http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html

In brief, user variables are those listed under "Some influential
environment variables" section of the output from 'configure --help'.
These are variables which the user may set prior to invoking configure,
and thus, the configure script should not alter them. This patch
makes use of new internal variables (e.g., OP_LDFLAGS and OP_CPPFLAGS),
which did unfortunately create quite a ripple effect with the Makefile.am
files. But this was unavoidable in order to correct this error.

Additionally, the '--with-gcc' option does not work anymore because
the generated configure script runs the AC_PROG_CC before processing the
"--with-gcc" option, so it fails to find a compiler. Unsure of when
this stopped working (assume it must have worked in 2005 when it was
initially added), but even fairly old distros (e.g., SLES 10) with
autoconf version 2.59 do not process this option as we would want.
If users wish to configure oprofile to use an alternate compiler,
they should pass the compiler pathnames on the configure command line, thusly:
./configure CC=/my-gcc-install/bin/gcc CXX=/my-gcc-instal/g++

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

2012-07-13 17:44:49 Tree
[88e125] by Maynard Johnson Maynard Johnson

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>

2012-06-11 15:10:58 Tree
[73a0c8] by Maynard Johnson Maynard Johnson

Initial code drop for perf-events branch

2012-01-13 23:27:09 Tree
[9529ae] by William Cohen William Cohen

Convert the .cvsignore files into .gitignore files.

2011-02-15 19:50:17 Tree
[4bf5bc] by Maynard johnson Maynard johnson

fix opimport compile error on recent gcc

2010-10-13 18:15:33 Tree
[825d80] by Maynard johnson Maynard johnson

Use C++ style #includes for stdlib and string headers

2009-02-10 15:26:41 Tree
[930c06] by Maynard johnson Maynard johnson

Fix gcc warnings

2009-02-10 01:54:31 Tree
[a4c754] by John Levon John Levon

GCC 4.3 fixes

2008-04-29 12:07:46 Tree
[af7e83] by John Levon John Levon

Split changelog, fix cvsignore

2008-04-28 21:54:40 Tree
[353bda] by William Cohen William Cohen

2008-02-15 Will Cohen <wcohen@redhat.com>

* gui/oprof_start_util.cpp
* libutil++/file_manip.cpp
* libutil++/bfd_support.cpp
* libutil++/bfd_spu_support.cpp
* libutil++/op_spu_bfd.cpp
* libutil++/cverb.cpp
* libutil++/child_reader.cpp
* pp/opgprof_options.cpp
* pp/opannotate_options.cpp
* pp/oparchive.cpp
* pp/common_option.cpp
* libpp/sample_container.cpp
* libpp/op_header.cpp
* libpp/profile.cpp
* libabi/opimport.cpp
* libregex/demangle_symbol.cpp: Add includes for gcc 4.3 compatibility.

2008-02-15 18:28:19 Tree
[39b41e] by John Levon John Levon

style fixes

2006-11-18 01:18:59 Tree
[f63ed0] by Philippe Elie Philippe Elie

libdb: daemon always increment samples count by one so we can split the api in two part, one to update a node and one to setup a new node. This change doesn't touch the file format, it only improve the fast path. I removed also some sanity check inside the fast path

2005-08-17 19:15:42 Tree
[93da63] by Philippe Elie Philippe Elie

Do not use any C++ features to write the abi. Remove --enable-abi and related stuff, the libabi is now build unconditionnaly. Add a man page for opimport

2005-08-04 18:27:28 Tree
[d2fcf9] by John Levon John Levon

merge anon mapping support

2005-05-02 15:07:04 Tree
[3f0718] by John Levon John Levon

fix libabi for cg files

2005-04-28 20:20:05 Tree
[a97af9] by John Levon John Levon

rename op_import and op_help

2005-03-31 17:20:42 Tree
[bf0097] by John Levon John Levon

trivial style fixes

2005-03-29 17:10:55 Tree
[e31b5d] by John Levon John Levon

style fixes, whitespace only

2005-03-25 22:43:09 Tree
[c62f2d] by John Levon John Levon

some trivial renamings

2004-05-29 16:29:42 Tree
[c99415] by John Levon John Levon

clean up libdb API a little

2004-05-28 18:51:49 Tree
[fd73ea] by John Levon John Levon

check_style pedantry, no changelog.

2004-01-19 20:00:28 Tree
Older >