Re: [Xen-devel] [PATCH v2 4/5] tools: code refactoring for MBM

2015-01-07 Thread Wei Liu
On Wed, Jan 07, 2015 at 07:12:04PM +0800, Chao Peng wrote: [...] > -int libxl_psr_cmt_get_cache_occupancy(libxl_ctx *ctx, > - uint32_t domid, > - uint32_t socketid, > - uint32_t *l3_cache_

[Xen-devel] [PATCH v2 4/5] tools: code refactoring for MBM

2015-01-07 Thread Chao Peng
Make some internal routines common so that total/local memory bandwidth monitoring in the next patch can make use of them. Signed-off-by: Chao Peng --- tools/libxl/libxl_psr.c | 51 ++- tools/libxl/xl_cmdimpl.c | 54 +++