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.

Usage:

Sample output:

Patches (against git tree from 4 November 2010):

Todo


Back to my projects page