Home
last modified time | relevance | path

Searched refs:saved_kbuild_dir (Results 1 – 1 of 1) sorted by relevance

/tools/perf/util/
Dllvm-utils.c303 static char *saved_kbuild_dir; in llvm__get_kbuild_opts() local
313 if (saved_kbuild_dir && saved_kbuild_include_opts && in llvm__get_kbuild_opts()
314 !IS_ERR(saved_kbuild_dir) && !IS_ERR(saved_kbuild_include_opts)) { in llvm__get_kbuild_opts()
315 *kbuild_dir = strdup(saved_kbuild_dir); in llvm__get_kbuild_opts()
367 saved_kbuild_dir = strdup(*kbuild_dir); in llvm__get_kbuild_opts()
370 if (!saved_kbuild_dir || !saved_kbuild_include_opts) { in llvm__get_kbuild_opts()
371 zfree(&saved_kbuild_dir); in llvm__get_kbuild_opts()
376 saved_kbuild_dir = ERR_PTR(-EINVAL); in llvm__get_kbuild_opts()