Commit [6dc5d3] Maximize Restore History

Add support for architected events for IBM ppc64 architecture

The Power ISA 2.07 was published at http://power.org/. This ISA
formally defines base performance monitoring facilities which
must be provided by any processor implementation of the ISA.
Specific implementations may provide additional features, but
must include the standard architected features.

This patch creates a generic ppc64 cpu type called
"ppc64/architected_events_v1" that has a list of events which
are defined in the ISA 2.07 performance monitoring unit
architecture section. This new generic type will only be
supported by operf. It will *not* be supported by the legacy
oprofile kernel driver and opcontrol-based profiler. This
new cpu type can be used in situations where oprofile is running
on a kernel that does not have full native support for an
ISA 2.07-based ppc64 processor, but does have the base level
architected support. OProfile userspace code detects such a
situation by inspecting the auxiliary vector of the operf program
and comparing AT_PLATFORM and AT_BASE_PLATFORM values (defined
in elf.h).

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

Maynard Johnson Maynard Johnson 2013-05-17

added events/ppc64/architected_events_v1
added events/ppc64/architected_events_v1/events
added events/ppc64/architected_events_v1/unit_masks
changed events
changed events/Makefile.am
changed events/ppc64
changed libop
changed libop/op_cpu_type.c
changed libop/op_cpu_type.h
changed libop/op_events.c
changed pe_profiling
changed pe_profiling/operf.cpp
changed utils
changed utils/ophelp.c
events/ppc64/architected_events_v1/events Diff Switch to side-by-side view
Loading...
events/ppc64/architected_events_v1/unit_masks Diff Switch to side-by-side view
Loading...
events
Directory.
events/Makefile.am Diff Switch to side-by-side view
Loading...
events/ppc64
Directory.
libop
Directory.
libop/op_cpu_type.c Diff Switch to side-by-side view
Loading...
libop/op_cpu_type.h Diff Switch to side-by-side view
Loading...
libop/op_events.c Diff Switch to side-by-side view
Loading...
pe_profiling
Directory.
pe_profiling/operf.cpp Diff Switch to side-by-side view
Loading...
utils
Directory.
utils/ophelp.c Diff Switch to side-by-side view
Loading...