Searched refs:llvm_param (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/tools/perf/tests/ |
D | llvm.c | 81 !llvm_param.user_set_param && in test_llvm__fetch_bpf_obj() 98 if (!llvm_param.clang_bpf_cmd_template) in test_llvm__fetch_bpf_obj() 101 if (!llvm_param.clang_opt) in test_llvm__fetch_bpf_obj() 102 llvm_param.clang_opt = strdup(""); in test_llvm__fetch_bpf_obj() 105 llvm_param.clang_bpf_cmd_template, in test_llvm__fetch_bpf_obj() 109 err = asprintf(&clang_opt_new, "-xc %s", llvm_param.clang_opt); in test_llvm__fetch_bpf_obj() 113 tmpl_old = llvm_param.clang_bpf_cmd_template; in test_llvm__fetch_bpf_obj() 114 llvm_param.clang_bpf_cmd_template = tmpl_new; in test_llvm__fetch_bpf_obj() 115 clang_opt_old = llvm_param.clang_opt; in test_llvm__fetch_bpf_obj() 116 llvm_param.clang_opt = clang_opt_new; in test_llvm__fetch_bpf_obj() [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | llvm-utils.c | 30 struct llvm_param llvm_param = { variable 48 llvm_param.clang_path = strdup(value); in perf_llvm_config() 50 llvm_param.clang_bpf_cmd_template = strdup(value); in perf_llvm_config() 52 llvm_param.clang_opt = strdup(value); in perf_llvm_config() 54 llvm_param.kbuild_dir = strdup(value); in perf_llvm_config() 56 llvm_param.kbuild_opts = strdup(value); in perf_llvm_config() 58 llvm_param.dump_obj = !!perf_config_bool(var, value); in perf_llvm_config() 60 llvm_param.opts = strdup(value); in perf_llvm_config() 65 llvm_param.user_set_param = true; in perf_llvm_config() 232 const char *test_dir = llvm_param.kbuild_dir; in detect_kbuild_dir() [all …]
|
D | llvm-utils.h | 11 struct llvm_param { struct 56 extern struct llvm_param llvm_param; argument
|
D | bpf-loader.c | 96 if (!IS_ERR_OR_NULL(obj) && llvm_param.dump_obj) in bpf__prepare_load()
|
/Linux-v5.10/tools/perf/ |
D | builtin-record.c | 2549 OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path", 2551 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",
|