Lines Matching refs:argc
1125 kvm_events_record(struct perf_kvm_stat *kvm, int argc, const char **argv) in kvm_events_record() argument
1141 rec_argc = ARRAY_SIZE(record_args) + argc + 2 + in kvm_events_record()
1159 for (j = 1; j < (unsigned int)argc; j++, i++) in kvm_events_record()
1166 kvm_events_report(struct perf_kvm_stat *kvm, int argc, const char **argv) in kvm_events_report() argument
1187 if (argc) { in kvm_events_report()
1188 argc = parse_options(argc, argv, in kvm_events_report()
1191 if (argc) in kvm_events_report()
1253 int argc, const char **argv) in kvm_events_live() argument
1315 if (argc) { in kvm_events_live()
1316 argc = parse_options(argc, argv, live_options, in kvm_events_live()
1318 if (argc) in kvm_events_live()
1395 static int kvm_cmd_stat(const char *file_name, int argc, const char **argv) in kvm_cmd_stat() argument
1406 if (argc == 1) { in kvm_cmd_stat()
1412 return kvm_events_record(&kvm, argc - 1, argv + 1); in kvm_cmd_stat()
1415 return kvm_events_report(&kvm, argc - 1 , argv + 1); in kvm_cmd_stat()
1419 return kvm_events_live(&kvm, argc - 1 , argv + 1); in kvm_cmd_stat()
1423 return cmd_stat(argc, argv, NULL); in kvm_cmd_stat()
1427 static int __cmd_record(const char *file_name, int argc, const char **argv) in __cmd_record() argument
1432 rec_argc = argc + 2; in __cmd_record()
1437 for (j = 1; j < argc; j++, i++) in __cmd_record()
1445 static int __cmd_report(const char *file_name, int argc, const char **argv) in __cmd_report() argument
1450 rec_argc = argc + 2; in __cmd_report()
1455 for (j = 1; j < argc; j++, i++) in __cmd_report()
1464 __cmd_buildid_list(const char *file_name, int argc, const char **argv) in __cmd_buildid_list() argument
1469 rec_argc = argc + 2; in __cmd_buildid_list()
1474 for (j = 1; j < argc; j++, i++) in __cmd_buildid_list()
1482 int cmd_kvm(int argc, const char **argv, const char *prefix __maybe_unused) in cmd_kvm() argument
1515 argc = parse_options_subcommand(argc, argv, kvm_options, kvm_subcommands, kvm_usage, in cmd_kvm()
1517 if (!argc) in cmd_kvm()
1533 return __cmd_record(file_name, argc, argv); in cmd_kvm()
1535 return __cmd_report(file_name, argc, argv); in cmd_kvm()
1537 return cmd_diff(argc, argv, NULL); in cmd_kvm()
1539 return cmd_top(argc, argv, NULL); in cmd_kvm()
1541 return __cmd_buildid_list(file_name, argc, argv); in cmd_kvm()
1544 return kvm_cmd_stat(file_name, argc, argv); in cmd_kvm()