tools/libxl: minor name changes for CMT commands

Use "-" instead of  "_" for monitor types.

Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Chao Peng authored and Ian Campbell committed 2015-07-09 10:07:38 +01:00
1 parent 773bc09a59
commit 8ef0e490c6
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -8180,11 +8180,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");
+3 -3
View File
@@ -524,9 +524,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
};
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.