Shared-memory protocols for exposing performance counters

VMs running on a Xen host can use this library to expose performance
counters which can be sampled by the xapi performance monitoring daemon.
