Home
last modified time | relevance | path

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

123

/Linux-v6.1/tools/perf/util/
Dsetup.py1 from os import getenv, path
5 cc = getenv("CC")
7 src_feature_tests = getenv('srctree') + '/tools/build/feature'
48 cflags = getenv('CFLAGS', '').split()
56 src_perf = getenv('srctree') + '/tools/perf'
57 build_lib = getenv('PYTHON_EXTBUILD_LIB')
58 build_tmp = getenv('PYTHON_EXTBUILD_TMP')
59 libtraceevent = getenv('LIBTRACEEVENT')
60 libapikfs = getenv('LIBAPI')
61 libperf = getenv('LIBPERF')
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.c527 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-v6.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')
Dtdc.py47 plugindir = os.getenv('TDC_PLUGIN_DIR', './plugins')
749 if os.getenv('SUDO_UID') is not None:
750 os.chown(fname, uid=int(os.getenv('SUDO_UID')),
751 gid=int(os.getenv('SUDO_GID')))
/Linux-v6.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.c46 pwd = getenv("PWD"); in get_pwd_cwd()
124 env = getenv(subcmd_config.exec_path_env); in get_argv_exec_path()
145 const char *old_path = getenv("PATH"); in setup_path()
Dhelp.c86 char *s = getenv("LINES"); in get_term_dimensions()
90 s = getenv("COLUMNS"); in get_term_dimensions()
198 const char *env_path = getenv("PATH"); in load_command_list()
/Linux-v6.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-v6.1/certs/
Dextract-cert.c105 kbuild_verbose = atoi(getenv("KBUILD_VERBOSE")?:"0"); in main()
107 key_pass = getenv("KBUILD_SIGN_PIN"); in main()
/Linux-v6.1/tools/perf/arch/
Dcommon.c97 char *env = getenv("PATH"); in lookup_path()
147 cross_env = getenv("CROSS_COMPILE"); in perf_env__lookup_binutils_path()
/Linux-v6.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-v6.1/tools/perf/
Dbuiltin-help.c141 const char *display = getenv("DISPLAY"); in exec_man_konqueror()
331 const char *old_path = getenv("MANPATH"); in setup_man_path()
365 const char *fallback = getenv("PERF_MAN_VIEWER"); in show_man_page()
/Linux-v6.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-v6.1/scripts/kconfig/
Dconfdata.c200 char *name = getenv("KCONFIG_CONFIG"); in conf_get_configname()
207 char *name = getenv("KCONFIG_AUTOCONFIG"); in conf_get_autoconfig_name()
214 char *name = getenv("KCONFIG_AUTOHEADER"); in conf_get_autoheader_name()
221 char *name = getenv("KCONFIG_RUSTCCFG"); in conf_get_rustccfg_name()
364 env = getenv("KCONFIG_DEFCONFIG_LIST"); in conf_read_simple()
921 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write()
Dconf.c92 env = getenv("KCONFIG_SEED"); in set_randconfig_seed()
186 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols()
798 name = getenv("KCONFIG_ALLCONFIG"); in main()
831 name = getenv("KCONFIG_NOSILENTUPDATE"); in main()
/Linux-v6.1/arch/ia64/scripts/
Dunwcheck.py22 readelf = os.getenv("READELF", "readelf")
/Linux-v6.1/tools/perf/tests/shell/coresight/thread_loop/
Dthread_loop.c30 if (getenv("SHOW_TID")) { in thrfn()
/Linux-v6.1/arch/um/os-Linux/
Dexecvp.c52 char *path = getenv("PATH"); in execvp_noalloc()
/Linux-v6.1/drivers/accessibility/speakup/
Dmakemapdata.c57 dir_name = getenv("TOPDIR"); in main()
/Linux-v6.1/tools/testing/selftests/powerpc/benchmarks/
Dnull_syscall.c109 override = getenv("FREQUENCY"); in get_proc_frequency()
/Linux-v6.1/tools/lib/api/fs/
Dfs.c226 override_path = getenv(upper_name); in fs__env_override()
278 return getenv(upper_name) ?: *fs->mounts; in mount_overload()

123