Home
last modified time | relevance | path

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

/tools/perf/tests/
Dllvm.c75 !llvm_param.user_set_param && in test_llvm__fetch_bpf_obj()
92 if (!llvm_param.clang_bpf_cmd_template) in test_llvm__fetch_bpf_obj()
95 if (!llvm_param.clang_opt) in test_llvm__fetch_bpf_obj()
96 llvm_param.clang_opt = strdup(""); in test_llvm__fetch_bpf_obj()
99 llvm_param.clang_bpf_cmd_template, in test_llvm__fetch_bpf_obj()
103 err = asprintf(&clang_opt_new, "-xc %s", llvm_param.clang_opt); in test_llvm__fetch_bpf_obj()
107 tmpl_old = llvm_param.clang_bpf_cmd_template; in test_llvm__fetch_bpf_obj()
108 llvm_param.clang_bpf_cmd_template = tmpl_new; in test_llvm__fetch_bpf_obj()
109 clang_opt_old = llvm_param.clang_opt; in test_llvm__fetch_bpf_obj()
110 llvm_param.clang_opt = clang_opt_new; in test_llvm__fetch_bpf_obj()
[all …]
/tools/perf/util/
Dllvm-utils.c20 struct llvm_param llvm_param = { variable
36 llvm_param.clang_path = strdup(value); in perf_llvm_config()
38 llvm_param.clang_bpf_cmd_template = strdup(value); in perf_llvm_config()
40 llvm_param.clang_opt = strdup(value); in perf_llvm_config()
42 llvm_param.kbuild_dir = strdup(value); in perf_llvm_config()
44 llvm_param.kbuild_opts = strdup(value); in perf_llvm_config()
47 llvm_param.user_set_param = true; in perf_llvm_config()
213 const char *test_dir = llvm_param.kbuild_dir; in detect_kbuild_dir()
290 if (llvm_param.kbuild_dir && !llvm_param.kbuild_dir[0]) { in get_kbuild_opts()
308 force_set_env("KBUILD_OPTS", llvm_param.kbuild_opts); in get_kbuild_opts()
[all …]
Dllvm-utils.h10 struct llvm_param { struct
41 extern struct llvm_param llvm_param; argument
/tools/perf/
Dbuiltin-record.c1117 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path",
1119 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",