Help save net neutrality! Learn more.
Close

Commit [068c03]  Maximize  Restore  History

Add support for Intel Netburst (e.g., Pentium P4) to operf

The "legacy" oprofile kernel driver has special "p4" handling. There's
a map of event codes to ESCR/CCCR values. Unfortunately, the P4 event
codes (stored in events/i386/p4/events) that are used by the oprofile
kernel driver don't match what perf_events kernel code expects. This
patch adds some p4-specific event code handling to operf in order to
generate the correct encoding to pass to perf_events kernel subsystem.

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

Maynard Johnson Maynard Johnson 2013-05-22

changed libop/Makefile.am
added libop/op_netburst.c
added libop/op_netburst.h
changed pe_profiling/operf.cpp
libop/Makefile.am Diff Switch to side-by-side view
Loading...
libop/op_netburst.c Diff Switch to side-by-side view
Loading...
libop/op_netburst.h Diff Switch to side-by-side view
Loading...
pe_profiling/operf.cpp Diff Switch to side-by-side view
Loading...