oprofile Log


Commit Date  
[e08be6] by Maynard Johnson Maynard Johnson

Bump OPD_VERSION to correspond with sample format change (see commit 1be0be0f)

The sample header mtime field was changed to u64 (see bug#3309794), thus
the OPD_VERSION must be incremented.

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

2012-08-07 18:02:20 Tree
[422137] by Maynard Johnson Maynard Johnson

Fix unit mask handling (including 'extra' bits) in operf

This patch handles OR'ing in the unit mask values (and,
where needed, the inv/edge/any/cmask values) into the
event code that is passed to perf_event_open.

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

2012-08-06 21:03:36 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
[1be0be] by Maynard Johnson Maynard Johnson

Fix for bug 3309794: Change type for sample header mtime field to u64

See bug #3309794 (https://sourceforge.net/tracker/?func=detail&aid=3309794&group_id=16191&atid=116191)

The size of the mtime field in the op_header is based on whether
oprofile is built 32-bit or 64-bit. So if you have an oparchive
from a system where oprofile was built, say, as 64-bit and try to
run reports on that profile data on a different system where oprofile
was built as 32-bit, you're likely to see strange results and/or error
messages.

The typical error seen when running a 32-bit opreport on sample data from
a 64-bit oprofile is:
"opreport error: Attempt to process a Cell Broadband Engine SPU
profile withoutproper BFD support"

This is because the 32-bit opreport is looking at the "wrong" offset in the
header for the spu_profile field and finding a non-zero number there. Note
that to reproduce this error, I needed to pass an image spec to opreport.

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

2012-07-11 20:38:53 Tree
[3f1b50] by Will Deacon Will Deacon , pushed by Maynard Johnson Maynard Johnson

Update support for ARMv7 processors

- update architected ARMv7 event descriptions
- add support for Cortex-A5 ARMv7 PMU implementations
- add support for Cortex-A7 ARMv7 PMU implementations
- add support for Cortex-A15 ARMv7 PMU implementations

The part of this patch that adds support for new ARM PMU
implementations also updates the new function in
libop/op_cpu_type that was added in the perf-events branch
so that these new processors can be used with operf.
For this reason, this patch is currently only being applied
to the perf-events branch, so support for the new ARM processors
won't be available in oprofile "mainline" until we merge the
perf-events branch with the master branch.

Signed-off-by: Will Deacon <will.deacon@arm.com>

2012-07-02 13:47:17 Tree
[6316db] by Suravee Suthikulpanit Suravee Suthikulpanit , pushed by Maynard Johnson Maynard Johnson

Add support for AMD and older Intel processors to operf

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Andi Kleen <andi@firstfloor.org>

2012-06-28 15:50:59 Tree
[e98a05] by Gergely Kis Gergely Kis , pushed by Maynard Johnson Maynard Johnson

Detect MIPS CPUs based on the "cpu model" field of /proc/cpuinfo

Signed-off-by: Gergely Kis <gergely@homejinni.com>

2012-06-26 12:47:28 Tree
[6d652b] by Paul Guo Paul Guo , pushed by Maynard Johnson Maynard Johnson

Add TILE support to operf

Signed-off-by: Paul Guo <ggang@tilera.com>

2012-06-19 20:15:27 Tree
[69442b] by Will Deacon Will Deacon , pushed by Maynard Johnson Maynard Johnson

Factor out /proc/cpuinfo scanning and add support for ARM to operf

This patch adds support for parsing the cpu type from /proc/cpuinfo on
ARM platforms and hooks this into __get_cpu_type_alt_method so that
perf-events can be used as the backend. The previous /proc/cpuinfo parsing
code used by ppc64 to identify the current CPU type is useful for other
architectures that don't have a userspace cpuid instruction (for example, ARM),
so this patch factors out the /proc/cpuinfo reading code to be usable for
ARM support.

Signed-off-by: Will Deacon <will.deacon@arm.com>

2012-06-15 18:36:21 Tree
[493c34] by Andi Kleen Andi Kleen , pushed by Maynard Johnson Maynard Johnson

This adds the event list for Intel IvyBridge and the model number
for the current IvyBridge systems

Signed-off-by: Andi Kleen <ak@linux.intel.com>

2012-05-25 15:07:36 Tree
[eec156] by Andi Kleen Andi Kleen , pushed by Maynard Johnson Maynard Johnson

Implement the ANY (any thread) extra bit for Intel CPUs. Needed
for some of the new events.

Signed-off-by: Andi Kleen <ak@linux.intel.com>

2012-05-25 13:35:19 Tree
[73a0c8] by Maynard Johnson Maynard Johnson

Initial code drop for perf-events branch

2012-01-13 23:27:09 Tree
[d29bec] by Andreas Krebbel Andreas Krebbel , pushed by Maynard Johnson Maynard Johnson

Fix up s390 implementation to match what was accepted upstream in the kernel

2011-12-13 22:06:16 Tree
[710138] by Andreas Krebbel Andreas Krebbel , pushed by Maynard Johnson Maynard Johnson

S/390: Enhance the user space tools for System z hardware sampling

2011-11-03 16:23:53 Tree
[2a0cb3] by Maynard Johnson Maynard Johnson

Fix oprofile build warnings when using gcc 4.6.1 or newer

2011-10-24 14:36:57 Tree
[bb738f] by Paul Guo Paul Guo , pushed by Maynard Johnson Maynard Johnson

Add support for Tilera tile64/tilepro/tile-gx processor family

2011-10-19 16:02:42 Tree
[5591c3] by William Cohen William Cohen , pushed by Suravee Suthikulpanit Suravee Suthikulpanit

Fix compilation error due to the assembly language instruction cpuid

2011-07-05 02:02:45 Tree
[f5e31f] by William Cohen William Cohen

Ensure that op_get_cpu_type() closes the file

A Coverity scan of the OProfile code showed that op_get_cpu_type() did
not close the file in the case where the function opened the file, but
was unable to read from the file.

2011-05-27 20:52:55 Tree
[b0e23e] by Suravee Suthikulpanit Suravee Suthikulpanit

Add an event list for Sandy Bridge. Modify oprofile to detect Sandy Bridges.

Signed-off-by: Andi Kleen <ak@linux.intel.com>

2011-05-17 23:02:46 Tree
[577412] by Andi Kleen Andi Kleen , pushed by Maynard Johnson Maynard Johnson

This patch allows to specify unitmasks by name (first word in the unit
description) for those unit masks with "extra:" parameters.

2011-05-16 19:13:21 Tree
[918aab] by Andi Kleen Andi Kleen , pushed by Maynard Johnson Maynard Johnson

This patch adds the infrastructure to add extra flags for a unit mask
event. There is a new extra:... field in the unit mask declaration
that declares them.

2011-05-16 16:54:34 Tree
[6674ad] by John L. Villalovos John L. Villalovos , pushed by Maynard Johnson Maynard Johnson

Patch to add support for Westmere-EX processor.

2011-04-13 00:12:48 Tree
[cbd834] by Sheetal Sahasrabudhe Sheetal Sahasrabudhe , pushed by Maynard Johnson Maynard Johnson

Add support for Qualcomm Scorpion and ScorpionMP CPU

2011-03-14 19:34:58 Tree
[75a1b7] by Maynard Johnson Maynard Johnson

Fix some ppc64 event files that had non-UTF8 chars.

2011-03-08 17:00:50 Tree
[37d336] by William Cohen William Cohen

Add mappings for additional CPU_WESTMERE and CPU_CORE_I7 processors

Reviewing the "Intel 64 and IA-32 Architectures Software Developers
Manual Volume 3B System Programming Guide" appendix Table B-5 and
Table B-6 show that models 06_1FH and 06_2CH were missing from
op_cpu_specific_type function. This patch adds those mappings.

2011-02-23 16:22:12 Tree
Older >