oprofile Log


Commit Date  
[3aa2fe] by Maynard Johnson Maynard Johnson

oprofile pp tools should print messages about lost samples

When operf completes running, it collects statistics about
lost samples, records them in the operf.log, and prints
a warning message if the number of lost samples exceeds
a pre-defined percentage (.01%) of the total number of
samples. However, when opreport or any of the other oprofile
post-processing tools are run, the statistics are not
readily available (only in the operf.log), so there is no
warning about lost samples. This patch persists those
statistics to files in the <session-dir>/samples/current/stats
dir, allowing the pp tools to access them later. These
stats files are also copied by oparchive, so even archived
profile data will have the statistics available.

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

2013-04-19 12:26:32 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
[6d6705] by Maynard Johnson Maynard Johnson

Fixes to earlier commit that changed operf to use getopt vs popt

In my June 11 patch posting to the oprofile-list ("[PATCH] Switch
operf from popt to getopt"), I incorrectly removed the configure check
for popt. This is needed because other oprofile programs still
use popt. Also, I neglected to remove a new function in libutil/op_popt
that I had previously added in my failed attempt to have popt support
operf. This patch addresses both of these concerns.

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

2012-07-11 20:36:19 Tree
[73a0c8] by Maynard Johnson Maynard Johnson

Initial code drop for perf-events branch

2012-01-13 23:27:09 Tree
[0613ab] by Suravee Suthikulpanit Suravee Suthikulpanit

Fix BUG3069227: Time discrepancy using oprofile

Report CPU frequency using value from
/sys/devices/system/cpu/cpu<n>/cpufreq/cpuinfo_max_freq
by default instead of /proc/cpuinfo

2011-06-15 22:11:45 Tree
[9529ae] by William Cohen William Cohen

Convert the .cvsignore files into .gitignore files.

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

Add support for ICT loongson2

2009-11-25 20:35:20 Tree
[0c7a94] by Maynard johnson Maynard johnson

Fix crash when chasing broken symlinks

2009-05-18 18:30:47 Tree
[930c06] by Maynard johnson Maynard johnson

Fix gcc warnings

2009-02-10 01:54:31 Tree
[85739e] by Maynard johnson Maynard johnson

moved xml util routines to libop and fixed some other problems in the previous patch

2008-10-23 13:43:49 Tree
[69518f] by Maynard johnson Maynard johnson

add -X option to ophelp to generate XML

2008-10-15 21:10:02 Tree
[8a6f6b] by Daniel Hansel Daniel Hansel

JIT support (for profiling Java applications) added

2008-04-28 21:23:26 Tree
[5aa7fc] by Philippe Elie Philippe Elie

Fix #1256978: sum of samples count overflow

2005-08-15 20:26:35 Tree
[a29cef] by Philippe Elie Philippe Elie

op_file_readable() return sucess only for regular file

2005-04-27 08:15:51 Tree
[d7798b] by John Levon John Levon

rejigging of BFD stuff.

2005-04-22 19:29:22 Tree
[3de9e0] by John Levon John Levon

fix tests build

2005-04-07 02:59:34 Tree
[bf0097] by John Levon John Levon

trivial style fixes

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

hopefully fix dcookie aliasing bug, by Bin Ren

2004-05-28 17:21:40 Tree
[0dd846] by John Levon John Levon

whoops

2004-01-19 20:11:08 Tree
[fd73ea] by John Levon John Levon

check_style pedantry, no changelog.

2004-01-19 20:00:28 Tree
[0d0e60] by Philippe Elie Philippe Elie

merge BRANCH_CALLGRAPH to HEAD

2004-01-18 02:21:16 Tree
[348ee9] by William Cohen William Cohen

Merge in support for debug information in file separate from binary.

2004-01-16 17:48:56 Tree
[0af6a9] by John Levon John Levon

use realpath(3)

2003-11-13 15:22:58 Tree
[64c737] by Philippe Elie Philippe Elie

minor tidy

2003-11-04 04:26:45 Tree
[dd88d8] by John Levon John Levon

dirname/basename/follow_link fixes

2003-11-01 01:10:22 Tree
Older >