Searched refs:exec_path (Results 1 - 10 of 10) sorted by relevance
/linux-master/tools/lib/subcmd/ |
H A D | exec-cmd.h | 6 const char *exec_path, const char *exec_path_env); 8 extern void set_argv_exec_path(const char *exec_path);
|
H A D | subcmd-config.h | 8 const char *exec_path; member in struct:subcmd_config
|
H A D | subcmd-config.c | 9 .exec_path = UNDEFINED,
|
H A D | exec-cmd.c | 21 const char *exec_path, const char *exec_path_env) 25 subcmd_config.exec_path = exec_path; 108 void set_argv_exec_path(const char *exec_path) argument 110 argv_exec_path = exec_path; 114 setenv(subcmd_config.exec_path_env, exec_path, 1); 130 return system_path(subcmd_config.exec_path); 20 exec_cmd_init(const char *exec_name, const char *prefix, const char *exec_path, const char *exec_path_env) argument
|
H A D | help.c | 221 char *exec_path = get_argv_exec_path(); local 223 if (exec_path) { 224 list_commands_in_dir(main_cmds, exec_path, prefix); 236 if (!exec_path || strcmp(path, exec_path)) 249 free(exec_path); 266 char *exec_path = get_argv_exec_path(); local 267 printf("available %s in '%s'\n", title, exec_path); 269 mput_char('-', strlen(title) + strlen(exec_path)); 273 free(exec_path); [all...] |
/linux-master/tools/perf/tests/ |
H A D | attr.c | 186 char *exec_path; local 202 exec_path = get_argv_exec_path(); 203 if (exec_path == NULL) 207 snprintf(path_dir, PATH_MAX, "%s/tests", exec_path); 209 free(exec_path);
|
H A D | tests-scripts.c | 32 char path[PATH_MAX], *exec_path; local 43 exec_path = get_argv_exec_path(); 44 scnprintf(path, sizeof(path), "%s/tests/shell", exec_path); 45 free(exec_path);
|
H A D | dlfilter-test.c | 227 char *exec_path; local 233 exec_path = get_argv_exec_path(); 234 if (!exec_path) 236 snprintf(path, sizeof(path), "%s/dlfilters/%s", exec_path, name); 237 free(exec_path);
|
/linux-master/tools/perf/util/ |
H A D | dlfilter.c | 340 char *exec_path; local 355 exec_path = get_argv_exec_path(); 356 if (!exec_path) 358 snprintf(path, sizeof(path), "%s/dlfilters/%s", exec_path, file); 359 free(exec_path); 646 char *exec_path; local 652 exec_path = get_argv_exec_path(); 653 if (!exec_path) 655 snprintf(path, sizeof(path), "%s/dlfilters", exec_path); 659 free(exec_path); [all...] |
/linux-master/tools/perf/ |
H A D | builtin-script.c | 2959 char *exec_path = get_argv_exec_path(); local 2961 if (!exec_path) 2964 exec_path, scripting_ops->dirname, script); 2965 free(exec_path);
|
Completed in 161 milliseconds