Searched refs:nargv (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dexec_cmd.c103 const char **nargv; prepare_perf_cmd() local
107 nargv = malloc(sizeof(*nargv) * (argc + 2)); prepare_perf_cmd()
109 nargv[0] = "perf"; prepare_perf_cmd()
111 nargv[argc + 1] = argv[argc]; prepare_perf_cmd()
112 nargv[argc + 1] = NULL; prepare_perf_cmd()
113 return nargv; prepare_perf_cmd()
117 const char **nargv = prepare_perf_cmd(argv); execv_perf_cmd() local
120 execvp("perf", (char **)nargv); execv_perf_cmd()
122 free(nargv); execv_perf_cmd()

Completed in 66 milliseconds