Searched refs:kbuild_dir (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/tools/perf/util/ |
H A D | llvm-utils.c | 24 .kbuild_dir = NULL, 42 llvm_param.kbuild_dir = strdup(value); perf_llvm_config() 211 static int detect_kbuild_dir(char **kbuild_dir) detect_kbuild_dir() argument 213 const char *test_dir = llvm_param.kbuild_dir; detect_kbuild_dir() 243 err = asprintf(kbuild_dir, "%s%s%s", prefix_dir, test_dir, detect_kbuild_dir() 280 get_kbuild_opts(char **kbuild_dir, char **kbuild_include_opts) get_kbuild_opts() argument 284 if (!kbuild_dir || !kbuild_include_opts) get_kbuild_opts() 287 *kbuild_dir = NULL; get_kbuild_opts() 290 if (llvm_param.kbuild_dir && !llvm_param.kbuild_dir[0]) { get_kbuild_opts() 296 err = detect_kbuild_dir(kbuild_dir); get_kbuild_opts() 306 pr_debug("Kernel build dir is set to %s\n", *kbuild_dir); get_kbuild_opts() 307 force_set_env("KBUILD_DIR", *kbuild_dir); get_kbuild_opts() 318 *kbuild_dir); get_kbuild_opts() 320 free(*kbuild_dir); get_kbuild_opts() 321 *kbuild_dir = NULL; get_kbuild_opts() 338 char *kbuild_dir = NULL, *kbuild_include_opts = NULL; llvm__compile_bpf() local 359 get_kbuild_opts(&kbuild_dir, &kbuild_include_opts); llvm__compile_bpf() 382 force_set_env("WORKING_DIR", kbuild_dir ? : "."); llvm__compile_bpf() 404 free(kbuild_dir); llvm__compile_bpf() 415 free(kbuild_dir); llvm__compile_bpf()
|
H A D | llvm-utils.h | 26 const char *kbuild_dir; member in struct:llvm_param
|
Completed in 86 milliseconds