Home
last modified time | relevance | path

Searched refs:getenv (Results 1 – 25 of 54) sorted by relevance

123

/linux/tools/perf/util/
H A Dsetup.py1 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')
H A Dterm.c10 char *s = getenv("LINES"); in get_term_dimensions()
14 s = getenv("COLUMNS"); in get_term_dimensions()
H A Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool()
H A Dmap.c36 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()
/linux/tools/testing/selftests/tc-testing/
H A Dtdc_config_local_template.py11 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')
/linux/tools/lib/subcmd/
H A Dpager.c73 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()
H A Dexec-cmd.c45 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()
H A Dhelp.c108 char *s = getenv("LINES"); in get_term_dimensions()
112 s = getenv("COLUMNS"); in get_term_dimensions()
220 const char *env_path = getenv("PATH"); in load_command_list()
/linux/tools/testing/selftests/bpf/map_tests/
H A Dtask_storage_map.c63 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()
H A Dsk_storage_map.c596 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()
/linux/samples/landlock/
H A Dsandboxer.c124 env_path_name = getenv(env_var); in populate_ruleset_fs()
191 env_port_name = getenv(env_var); in populate_ruleset_net()
239 env_type_scope = getenv(env_var); in check_ruleset_scope()
444 env_port_name = getenv(ENV_TCP_BIND_NAME); in main()
450 env_port_name = getenv(ENV_TCP_CONNECT_NAME); in main()
/linux/drivers/accessibility/speakup/
H A Dmakemapdata.c56 dir_name = getenv("TOPDIR"); in main()
59 spk_dir_name = getenv("SPKDIR"); in main()
/linux/tools/perf/arch/
H A Dcommon.c109 char *env = getenv("PATH"); in lookup_path()
159 cross_env = getenv("CROSS_COMPILE"); in perf_env__lookup_binutils_path()
/linux/certs/
H A Dextract-cert.c134 verbose_env = getenv("KBUILD_VERBOSE"); in main()
138 key_pass = getenv("KBUILD_SIGN_PIN"); in main()
/linux/tools/perf/jvmti/
H A Djvmti_agent.c141 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()
/linux/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py12 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',
/linux/tools/objtool/
H A Dbuiltin-check.c107 env = getenv("OBJTOOL_ARGS"); in cmd_parse_options()
122 env = getenv("OBJTOOL_VERBOSE"); in cmd_parse_options()
/linux/tools/perf/
H A Dbuiltin-help.c143 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()
/linux/scripts/kconfig/
H A Dconf.c93 env = getenv("KCONFIG_SEED"); in set_randconfig_seed()
189 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols()
741 name = getenv("KCONFIG_ALLCONFIG"); in main()
777 name = getenv("KCONFIG_NOSILENTUPDATE"); in main()
/linux/tools/testing/selftests/exec/
H A Dexecveat.c450 const char *verbose = getenv("VERBOSE"); in main()
451 const char *check_comm = getenv(CHECK_COMM); in main()
458 const char *in_test = getenv("IN_TEST"); in main()
/linux/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c30 if (getenv("SHOW_TID")) { in thrfn()
/linux/arch/um/os-Linux/
H A Dexecvp.c52 char *path = getenv("PATH"); in execvp_noalloc()
/linux/tools/lib/api/fs/
H A Dfs.c232 override_path = getenv(upper_name); in fs__env_override()
267 return getenv(upper_name) ?: *fs->mounts; in mount_overload()
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c109 override = getenv("FREQUENCY"); in get_proc_frequency()
/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c93 if (getenv("I_AM_SERVICE")) { in main()

123