Lines Matching refs:argc
66 static int __cmd_record(int argc, const char **argv, struct perf_mem *mem) in __cmd_record() argument
92 argc = parse_options(argc, argv, options, record_mem_usage, in __cmd_record()
96 rec_argc = argc + 9 * perf_pmus__num_mem_pmus(); in __cmd_record()
168 for (j = 0; j < argc; j++, i++) in __cmd_record()
349 static int report_events(int argc, const char **argv, struct perf_mem *mem) in report_events() argument
358 rep_argc = argc + 3; in report_events()
371 for (j = 1; j < argc; j++, i++) in report_events()
449 int cmd_mem(int argc, const char **argv) in cmd_mem() argument
501 argc = parse_options_subcommand(argc, argv, mem_options, mem_subcommands, in cmd_mem()
504 if (!argc || !(strncmp(argv[0], "rec", 3) || mem.operation)) in cmd_mem()
515 return __cmd_record(argc, argv, &mem); in cmd_mem()
517 return report_events(argc, argv, &mem); in cmd_mem()