Commit [a856df] Maximize Restore History

Add pseudo event for POWER7 to count rising edge events

This patch is specific to the IBM Power architecture.
The patch adds the capability to detect events where the
"_EDGE_COUNT" suffix has been appended to a real native event
name. The intent of such an event is to detect the rising edge
of the corresponding real native event. This "edge detection"
technique is useful for events that normally count the number
of cycles that a particular condition is true.
Since such "pseudo events" have not been formally defined in
processor documentation, libpfm does not know about them; thus,
we must convert them to their real native event equivalent in
order to get the base code. We thenset the "edge detect" bit
(the LSB) in the event code.

This patch adds one new POWER7 event, PM_GCT_NOSLOT_CYC_EDGE_COUNT,
which uses the edge detection.

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

Maynard Johnson Maynard Johnson 2013-11-06

changed events
changed events/ppc64
changed events/ppc64/power7
changed events/ppc64/power7/event_mappings
changed events/ppc64/power7/events
changed libpe_utils
changed libpe_utils/op_pe_utils.cpp
events
Directory.
events/ppc64
Directory.
events/ppc64/power7
Directory.
events/ppc64/power7/event_mappings Diff Switch to side-by-side view
Loading...
events/ppc64/power7/events Diff Switch to side-by-side view
Loading...
libpe_utils
Directory.
libpe_utils/op_pe_utils.cpp Diff Switch to side-by-side view
Loading...