Searched refs:exec_path (Results 1 – 10 of 10) sorted by relevance
/linux-6.14.4/tools/lib/subcmd/ |
D | exec-cmd.c | 21 const char *exec_path, const char *exec_path_env) in exec_cmd_init() argument 25 subcmd_config.exec_path = exec_path; in exec_cmd_init() 108 void set_argv_exec_path(const char *exec_path) in set_argv_exec_path() argument 110 argv_exec_path = exec_path; in set_argv_exec_path() 114 setenv(subcmd_config.exec_path_env, exec_path, 1); in set_argv_exec_path() 130 return system_path(subcmd_config.exec_path); in get_argv_exec_path()
|
D | help.c | 221 char *exec_path = get_argv_exec_path(); in load_command_list() local 223 if (exec_path) { in load_command_list() 224 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list() 236 if (!exec_path || strcmp(path, exec_path)) in load_command_list() 249 free(exec_path); in load_command_list() 266 char *exec_path = get_argv_exec_path(); in list_commands() local 267 printf("available %s in '%s'\n", title, exec_path); in list_commands() 269 mput_char('-', strlen(title) + strlen(exec_path)); in list_commands() 273 free(exec_path); in list_commands()
|
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);
|
D | subcmd-config.h | 8 const char *exec_path; member
|
D | subcmd-config.c | 9 .exec_path = UNDEFINED,
|
/linux-6.14.4/tools/perf/util/ |
D | dlfilter.c | 341 char *exec_path; in find_dlfilter() local 356 exec_path = get_argv_exec_path(); in find_dlfilter() 357 if (!exec_path) in find_dlfilter() 359 snprintf(path, sizeof(path), "%s/dlfilters/%s", exec_path, file); in find_dlfilter() 360 free(exec_path); in find_dlfilter() 647 char *exec_path; in list_available_dlfilters() local 653 exec_path = get_argv_exec_path(); in list_available_dlfilters() 654 if (!exec_path) in list_available_dlfilters() 656 snprintf(path, sizeof(path), "%s/dlfilters", exec_path); in list_available_dlfilters() 660 free(exec_path); in list_available_dlfilters()
|
/linux-6.14.4/tools/perf/tests/ |
D | tests-scripts.c | 33 char path[PATH_MAX], path2[PATH_MAX], *exec_path; in shell_tests__dir_fd() local 72 exec_path = get_argv_exec_path(); in shell_tests__dir_fd() 73 scnprintf(path, sizeof(path), "%s/tests/shell", exec_path); in shell_tests__dir_fd() 74 free(exec_path); in shell_tests__dir_fd()
|
D | dlfilter-test.c | 227 char *exec_path; in get_dlfilters_path() local 233 exec_path = get_argv_exec_path(); in get_dlfilters_path() 234 if (!exec_path) in get_dlfilters_path() 236 snprintf(path, sizeof(path), "%s/dlfilters/%s", exec_path, name); in get_dlfilters_path() 237 free(exec_path); in get_dlfilters_path()
|
/linux-6.14.4/tools/perf/ui/browsers/ |
D | scripts.c | 171 const char *exec_path = get_argv_exec_path(); in find_scripts() local 180 snprintf(scripts_path, sizeof(scripts_path), "%s/scripts", exec_path); in find_scripts() 232 exec_path, in find_scripts()
|
/linux-6.14.4/tools/perf/ |
D | builtin-script.c | 2909 char *exec_path = get_argv_exec_path(); in find_script() local 2911 if (!exec_path) in find_script() 2914 exec_path, scripting_ops->dirname, script); in find_script() 2915 free(exec_path); in find_script()
|