[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v5 10/13] tools/libxl: minor name changes for CMT commands
Use "-" instead of "_" for monitor types. Signed-off-by: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx> --- tools/libxl/xl_cmdimpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 394b55d..c666d84 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -8220,11 +8220,11 @@ int main_psr_cmt_show(int argc, char **argv) /* No options */ } - if (!strcmp(argv[optind], "cache_occupancy")) + if (!strcmp(argv[optind], "cache-occupancy")) type = LIBXL_PSR_CMT_TYPE_CACHE_OCCUPANCY; - else if (!strcmp(argv[optind], "total_mem_bandwidth")) + else if (!strcmp(argv[optind], "total-mem-bandwidth")) type = LIBXL_PSR_CMT_TYPE_TOTAL_MEM_COUNT; - else if (!strcmp(argv[optind], "local_mem_bandwidth")) + else if (!strcmp(argv[optind], "local-mem-bandwidth")) type = LIBXL_PSR_CMT_TYPE_LOCAL_MEM_COUNT; else { help("psr-cmt-show"); -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |