Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/tests/
Dllvm.c72 if (!force && (!llvm_param.user_set_param && in test_llvm__fetch_bpf_obj()
89 if (!llvm_param.clang_bpf_cmd_template) in test_llvm__fetch_bpf_obj()
92 if (!llvm_param.clang_opt) in test_llvm__fetch_bpf_obj()
93 llvm_param.clang_opt = strdup(""); in test_llvm__fetch_bpf_obj()
96 llvm_param.clang_bpf_cmd_template, in test_llvm__fetch_bpf_obj()
100 err = asprintf(&clang_opt_new, "-xc %s", llvm_param.clang_opt); in test_llvm__fetch_bpf_obj()
104 tmpl_old = llvm_param.clang_bpf_cmd_template; in test_llvm__fetch_bpf_obj()
105 llvm_param.clang_bpf_cmd_template = tmpl_new; in test_llvm__fetch_bpf_obj()
106 clang_opt_old = llvm_param.clang_opt; in test_llvm__fetch_bpf_obj()
107 llvm_param.clang_opt = clang_opt_new; in test_llvm__fetch_bpf_obj()
[all …]
/linux-6.1.9/tools/perf/util/
Dllvm-utils.c30 struct llvm_param llvm_param = { variable
50 llvm_param.clang_path = strdup(value); in perf_llvm_config()
52 llvm_param.clang_bpf_cmd_template = strdup(value); in perf_llvm_config()
54 llvm_param.clang_opt = strdup(value); in perf_llvm_config()
56 llvm_param.kbuild_dir = strdup(value); in perf_llvm_config()
58 llvm_param.kbuild_opts = strdup(value); in perf_llvm_config()
60 llvm_param.dump_obj = !!perf_config_bool(var, value); in perf_llvm_config()
62 llvm_param.opts = strdup(value); in perf_llvm_config()
67 llvm_param.user_set_param = true; in perf_llvm_config()
249 const char *test_dir = llvm_param.kbuild_dir; in detect_kbuild_dir()
[all …]
Dllvm-utils.h11 struct llvm_param { struct
56 extern struct llvm_param llvm_param; argument
Dbpf-loader.c260 if (!IS_ERR_OR_NULL(obj) && llvm_param.dump_obj) in bpf__prepare_load()
/linux-6.1.9/tools/perf/
Dbuiltin-record.c3475 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path",
3477 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",