| /linux/tools/lib/subcmd/ |
| H A 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()
|
| H A D | help.c | 228 char *exec_path = get_argv_exec_path(); in load_command_list() local 230 if (exec_path) { in load_command_list() 231 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list() 243 if (!exec_path || strcmp(path, exec_path)) in load_command_list() 256 free(exec_path); in load_command_list() 273 char *exec_path = get_argv_exec_path(); in list_commands() local 274 printf("available %s in '%s'\n", title, exec_path); in list_commands() 276 mput_char('-', strlen(title) + strlen(exec_path)); in list_commands() 280 free(exec_path); in list_commands()
|
| 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
|
| H A D | subcmd-config.c | 9 .exec_path = UNDEFINED,
|
| /linux/tools/perf/util/ |
| H A D | dlfilter.c | 340 char *exec_path; in find_dlfilter() local 355 exec_path = get_argv_exec_path(); in find_dlfilter() 356 if (!exec_path) in find_dlfilter() 358 snprintf(path, sizeof(path), "%s/dlfilters/%s", exec_path, file); in find_dlfilter() 359 free(exec_path); in find_dlfilter() 646 char *exec_path; in list_available_dlfilters() local 652 exec_path = get_argv_exec_path(); in list_available_dlfilters() 653 if (!exec_path) in list_available_dlfilters() 655 snprintf(path, sizeof(path), "%s/dlfilters", exec_path); in list_available_dlfilters() 659 free(exec_path); in list_available_dlfilters() [all...] |
| /linux/tools/perf/tests/ |
| H A D | tests-scripts.c | 34 char path[PATH_MAX], path2[PATH_MAX], *exec_path; in shell_tests__dir_fd() 78 exec_path = get_argv_exec_path(); in shell_test__description() 79 scnprintf(path, sizeof(path), "%s/tests/shell", exec_path); in shell_test__description() 80 free(exec_path); in shell_test__description() 33 char path[PATH_MAX], path2[PATH_MAX], *exec_path; shell_tests__dir_fd() local
|
| H A D | dlfilter-test.c | 230 char *exec_path; in get_dlfilters_path() 236 exec_path = get_argv_exec_path(); in get_dlfilters_path() 237 if (!exec_path) in get_dlfilters_path() 239 snprintf(path, sizeof(path), "%s/dlfilters/%s", exec_path, name); in get_dlfilters_path() 240 free(exec_path); in get_dlfilters_path() 226 char *exec_path; get_dlfilters_path() local
|
| /linux/tools/perf/ui/browsers/ |
| H A D | scripts.c | 107 const char *exec_path = get_argv_exec_path(); in check_ev_match() 113 snprintf(py_scripts_path, sizeof(py_scripts_path), "%s/python", exec_path); in check_ev_match() 136 exec_path, in check_ev_match() 171 const char *exec_path = get_argv_exec_path(); find_scripts() local
|
| /linux/tools/perf/ |
| H A D | builtin-script.c | 3433 char *exec_path; in parse_output_fields() 3438 exec_path = get_argv_exec_path(); in parse_output_fields() 3439 if (exec_path) { in parse_output_fields() 3440 snprintf(path, sizeof(path), "%s/python/%s", exec_path, script); in parse_output_fields() 3442 free(exec_path); in parse_output_fields() 3446 snprintf(path, sizeof(path), "%s/python/%s.py", exec_path, script); in parse_output_fields() 3447 free(exec_path); in parse_output_fields() 3275 char *exec_path = get_argv_exec_path(); find_script() local
|