Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/perf/util/
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')
Dterm.c10 char *s = getenv("LINES"); in get_term_dimensions()
14 s = getenv("COLUMNS"); in get_term_dimensions()
Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool()
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()
Dconfig.c526 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()
/linux-6.12.1/tools/testing/selftests/tc-testing/
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-6.12.1/tools/lib/subcmd/
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()
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()
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-6.12.1/tools/testing/selftests/bpf/map_tests/
Dtask_storage_map.c62 cfg = getenv("TASK_STORAGE_MAP_NR_THREAD"); in test_task_storage_map_stress_lookup()
68 cfg = getenv("TASK_STORAGE_MAP_NR_LOOP"); in test_task_storage_map_stress_lookup()
71 cfg = getenv("TASK_STORAGE_MAP_PIN_CPU"); in test_task_storage_map_stress_lookup()
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-6.12.1/samples/landlock/
Dsandboxer.c121 env_path_name = getenv(env_var); in populate_ruleset_fs()
184 env_port_name = getenv(env_var); in populate_ruleset_net()
232 env_type_scope = getenv(env_var); in check_ruleset_scope()
437 env_port_name = getenv(ENV_TCP_BIND_NAME); in main()
443 env_port_name = getenv(ENV_TCP_CONNECT_NAME); in main()
/linux-6.12.1/scripts/kconfig/
Dconfdata.c165 return getenv("KCONFIG_WERROR"); in conf_errors()
211 char *name = getenv("KCONFIG_CONFIG"); in conf_get_configname()
218 char *name = getenv("KCONFIG_AUTOCONFIG"); in conf_get_autoconfig_name()
225 char *name = getenv("KCONFIG_AUTOHEADER"); in conf_get_autoheader_name()
232 char *name = getenv("KCONFIG_RUSTCCFG"); in conf_get_rustccfg_name()
330 warn_unknown = getenv("KCONFIG_WARN_UNKNOWN_SYMBOLS"); in conf_read_simple()
342 env = getenv("KCONFIG_DEFCONFIG_LIST"); in conf_read_simple()
821 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write()
Dconf.c93 env = getenv("KCONFIG_SEED"); in set_randconfig_seed()
189 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols()
738 name = getenv("KCONFIG_ALLCONFIG"); in main()
774 name = getenv("KCONFIG_NOSILENTUPDATE"); in main()
/linux-6.12.1/drivers/accessibility/speakup/
Dmakemapdata.c56 dir_name = getenv("TOPDIR"); in main()
59 spk_dir_name = getenv("SPKDIR"); in main()
/linux-6.12.1/certs/
Dextract-cert.c134 verbose_env = getenv("KBUILD_VERBOSE"); in main()
138 key_pass = getenv("KBUILD_SIGN_PIN"); in main()
/linux-6.12.1/tools/perf/arch/
Dcommon.c109 char *env = getenv("PATH"); in lookup_path()
159 cross_env = getenv("CROSS_COMPILE"); in perf_env__lookup_binutils_path()
/linux-6.12.1/tools/perf/jvmti/
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-6.12.1/tools/objtool/
Dbuiltin-check.c107 env = getenv("OBJTOOL_ARGS"); in cmd_parse_options()
122 env = getenv("OBJTOOL_VERBOSE"); in cmd_parse_options()
/linux-6.12.1/tools/testing/selftests/bpf/
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-6.12.1/tools/perf/
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-6.12.1/tools/perf/tests/shell/coresight/thread_loop/
Dthread_loop.c30 if (getenv("SHOW_TID")) { in thrfn()
/linux-6.12.1/arch/um/os-Linux/
Dexecvp.c52 char *path = getenv("PATH"); in execvp_noalloc()
/linux-6.12.1/tools/lib/api/fs/
Dfs.c232 override_path = getenv(upper_name); in fs__env_override()
267 return getenv(upper_name) ?: *fs->mounts; in mount_overload()
/linux-6.12.1/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c109 override = getenv("FREQUENCY"); in get_proc_frequency()

123