Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dllvm-utils.c417 char *obj_path = strdup(path); in llvm__dump_obj() local
421 if (!obj_path) { in llvm__dump_obj()
426 p = strrchr(obj_path, '.'); in llvm__dump_obj()
429 obj_path); in llvm__dump_obj()
434 fp = fopen(obj_path, "wb"); in llvm__dump_obj()
437 obj_path, strerror(errno)); in llvm__dump_obj()
441 pr_debug("LLVM: dumping %s\n", obj_path); in llvm__dump_obj()
443 …pr_debug("WARNING: failed to write to file '%s': %s, skip object dumping\n", obj_path, strerror(er… in llvm__dump_obj()
446 free(obj_path); in llvm__dump_obj()
/linux-6.1.9/tools/bpf/bpftool/
Dgen.c2045 static int btfgen_record_obj(struct btfgen_info *info, const char *obj_path) in btfgen_record_obj() argument
2058 btf = btf__parse(obj_path, &btf_ext); in btfgen_record_obj()
2061 p_err("failed to parse BPF object '%s': %s", obj_path, strerror(errno)); in btfgen_record_obj()
2067 obj_path, BTF_EXT_ELF_SEC); in btfgen_record_obj()