Lines Matching full:argv
100 static const char **prepare_perf_cmd(const char **argv)
105 for (argc = 0; argv[argc]; argc++)
110 for (argc = 0; argv[argc]; argc++)
111 nargv[argc + 1] = argv[argc];
116 int execv_perf_cmd(const char **argv) {
117 const char **nargv = prepare_perf_cmd(argv);
130 const char *argv[MAX_ARGS + 1];
135 argv[0] = cmd;
138 arg = argv[argc++] = va_arg(param, char *);
146 argv[argc] = NULL;
147 return execv_perf_cmd(argv);