[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v9 09/13] tools/libxl: minor name changes for CMT commands
Use "-" instead of "_" for monitor types. Signed-off-by: Chao Peng <chao.p.peng@xxxxxxxxxxxxxxx> Reviewed-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/libxl/xl_cmdimpl.c | 6 +++--- tools/libxl/xl_cmdtable.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index c858068..fbc69ab 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -8286,11 +8286,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"); diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c index 7f4759b..12899d1 100644 --- a/tools/libxl/xl_cmdtable.c +++ b/tools/libxl/xl_cmdtable.c @@ -540,9 +540,9 @@ struct cmd_spec cmd_table[] = { "Show Cache Monitoring Technology information", "<PSR-CMT-Type> <Domain>", "Available monitor types:\n" - "\"cache_occupancy\": Show L3 cache occupancy(KB)\n" - "\"total_mem_bandwidth\": Show total memory bandwidth(KB/s)\n" - "\"local_mem_bandwidth\": Show local memory bandwidth(KB/s)\n", + "\"cache-occupancy\": Show L3 cache occupancy(KB)\n" + "\"total-mem-bandwidth\": Show total memory bandwidth(KB/s)\n" + "\"local-mem-bandwidth\": Show local memory bandwidth(KB/s)\n", }, #endif }; -- 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 |