Perf Events from inside of Qemu

The following patch enables simulated perf event support inside of Qemu for x86_64 systems. It enables support for the AMD performance MSRs enough to return values for the "retired_instructions" (both user and kernel) and "cpu_clk_unhalted" events.


Sample output:

Patches (against git tree from 4 November 2010):


Back to my projects page