| /tools/perf/util/ |
| D | setup.py | 1 from os import getenv, path 5 cc = getenv("CC") 16 src_feature_tests = getenv('srctree') + '/tools/build/feature' 61 cflags = getenv('CFLAGS', '').split() 74 src_perf = getenv('srctree') + '/tools/perf' 75 build_lib = getenv('PYTHON_EXTBUILD_LIB') 76 build_tmp = getenv('PYTHON_EXTBUILD_TMP')
|
| D | term.c | 10 char *s = getenv("LINES"); in get_term_dimensions() 14 s = getenv("COLUMNS"); in get_term_dimensions()
|
| D | color_config.c | 32 char *term = getenv("TERM"); in perf_config_colorbool()
|
| D | map.c | 36 app_abi = getenv("APP_ABI"); in replace_android_lib() 50 apk_path = getenv("APK_PATH"); in replace_android_lib() 71 ndk = getenv("NDK_ROOT"); in replace_android_lib() 72 app = getenv("APP_PLATFORM"); in replace_android_lib()
|
| D | config.c | 526 const char *v = getenv(k); in perf_env_bool() 547 home = getenv("HOME"); in home_perfconfig() 898 char *home = getenv("HOME"); in set_buildid_dir()
|
| /tools/testing/selftests/tc-testing/ |
| D | tdc_config_local_template.py | 11 ENV_LD_LIBRARY_PATH = os.getenv('LD_LIBRARY_PATH', '') 12 ENV_OTHER_LIB = os.getenv('OTHER_LIB', '') 17 EXTRA_NAMES['SOME_BIN'] = os.path.join(os.getenv('OTHER_BIN', ''), 'some_bin')
|
| D | tdc.py | 48 plugindir = os.getenv('TDC_PLUGIN_DIR', './plugins') 988 if os.getenv('SUDO_UID') is not None: 989 os.chown(fname, uid=int(os.getenv('SUDO_UID')), 990 gid=int(os.getenv('SUDO_GID')))
|
| /tools/lib/subcmd/ |
| D | pager.c | 73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager() 83 pager = getenv("PAGER"); in setup_pager() 124 s = getenv("COLUMNS"); in pager_get_columns()
|
| D | exec-cmd.c | 45 pwd = getenv("PWD"); in get_pwd_cwd() 126 env = getenv(subcmd_config.exec_path_env); in get_argv_exec_path() 150 const char *old_path = getenv("PATH"); in setup_path()
|
| D | help.c | 113 char *s = getenv("LINES"); in get_term_dimensions() 117 s = getenv("COLUMNS"); in get_term_dimensions() 225 const char *env_path = getenv("PATH"); in load_command_list()
|
| /tools/testing/selftests/bpf/map_tests/ |
| D | task_storage_map.c | 63 cfg = getenv("TASK_STORAGE_MAP_NR_THREAD"); in test_task_storage_map_stress_lookup() 69 cfg = getenv("TASK_STORAGE_MAP_NR_LOOP"); in test_task_storage_map_stress_lookup() 72 cfg = getenv("TASK_STORAGE_MAP_PIN_CPU"); in test_task_storage_map_stress_lookup()
|
| D | sk_storage_map.c | 596 test_name = getenv(BPF_SK_STORAGE_MAP_TEST_NAME); in test_sk_storage_map() 598 env_opt = getenv(BPF_SK_STORAGE_MAP_TEST_NR_THREADS); in test_sk_storage_map() 602 env_opt = getenv(BPF_SK_STORAGE_MAP_TEST_SK_PER_THREAD); in test_sk_storage_map() 606 env_opt = getenv(BPF_SK_STORAGE_MAP_TEST_RUNTIME_S); in test_sk_storage_map()
|
| /tools/perf/arch/ |
| D | common.c | 109 char *env = getenv("PATH"); in lookup_path() 159 cross_env = getenv("CROSS_COMPILE"); in perf_env__lookup_binutils_path()
|
| /tools/objtool/ |
| D | builtin-check.c | 107 env = getenv("OBJTOOL_ARGS"); in cmd_parse_options() 122 env = getenv("OBJTOOL_VERBOSE"); in cmd_parse_options()
|
| /tools/perf/tests/shell/coresight/thread_loop/ |
| D | thread_loop.c | 30 if (getenv("SHOW_TID")) { in thrfn()
|
| /tools/perf/jvmti/ |
| D | jvmti_agent.c | 141 base = getenv("JITDUMPDIR"); in create_jit_cache_dir() 143 base = getenv("HOME"); in create_jit_cache_dir() 238 char *str = getenv("JITDUMP_USE_ARCH_TIMESTAMP"); in init_arch_timestamp()
|
| /tools/testing/selftests/bpf/ |
| D | test_bpftool_synctypes.py | 12 BPFTOOL_DIR = os.getenv('BPFTOOL_DIR', 14 BPFTOOL_BASHCOMP_DIR = os.getenv('BPFTOOL_BASHCOMP_DIR', 16 BPFTOOL_DOC_DIR = os.getenv('BPFTOOL_DOC_DIR', 18 INCLUDE_DIR = os.getenv('INCLUDE_DIR',
|
| /tools/perf/ |
| D | builtin-help.c | 143 const char *display = getenv("DISPLAY"); in exec_man_konqueror() 333 const char *old_path = getenv("MANPATH"); in setup_man_path() 367 const char *fallback = getenv("PERF_MAN_VIEWER"); in show_man_page()
|
| D | builtin-config.c | 162 char *user_config = mkpath(path, sizeof(path), "%s/.perfconfig", getenv("HOME")); in cmd_config()
|
| /tools/testing/selftests/powerpc/benchmarks/ |
| D | null_syscall.c | 109 override = getenv("FREQUENCY"); in get_proc_frequency()
|
| /tools/testing/selftests/rlimits/ |
| D | rlimits-per-userns.c | 93 if (getenv("I_AM_SERVICE")) { in main()
|
| /tools/lib/api/fs/ |
| D | fs.c | 232 override_path = getenv(upper_name); in fs__env_override() 267 return getenv(upper_name) ?: *fs->mounts; in mount_overload()
|
| /tools/testing/selftests/exec/ |
| D | execveat.c | 417 const char *verbose = getenv("VERBOSE"); in main() 421 const char *in_test = getenv("IN_TEST"); in main()
|
| /tools/perf/tests/ |
| D | attr.c | 46 dir = getenv(ENV); in test_attr__init()
|
| /tools/bpf/ |
| D | bpf_dbg.c | 1322 snprintf(file, sizeof(file), "%s/.bpf_dbg_history", getenv("HOME")); in init_shell() 1329 rl_terminal_name = getenv("TERM"); in init_shell() 1341 snprintf(file, sizeof(file), "%s/.bpf_dbg_init", getenv("HOME")); in init_shell() 1354 snprintf(file, sizeof(file), "%s/.bpf_dbg_history", getenv("HOME")); in exit_shell()
|