[libvirt] [PATCHv8 11/17] util: Add more interfaces for resctrl monitor

John Ferlan jferlan at redhat.com
Tue Nov 13 23:31:59 UTC 2018



On 11/12/18 8:31 AM, Wang Huaqiang wrote:
> Add interfaces monitor group to support operations such
> as add PID, get ID, remove group ... etc.

virResctrlMonitorGetStats is perhaps a bit more than just basic stuff!
So I can add:

Implement the virResctrlMonitorGetStats to fetch all the
statistical data and the virResctrlMonitorGetCacheOccupancy
in order to fetch the cache specific "llc_oocupancy" value.


> 
> Signed-off-by: Wang Huaqiang <huaqiang.wang at intel.com>
> ---
>  src/libvirt_private.syms |   5 ++
>  src/util/virresctrl.c    | 167 +++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/virresctrl.h    |  26 ++++++++
>  3 files changed, 198 insertions(+)
> 


Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list