Searched refs:btfids_path (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/bpf/resolve_btfids/ |
| H A D | main.c | 1363 static int patch_btfids(const char *btfids_path, const char *elf_path) in patch_btfids() argument 1423 if (stat(btfids_path, &st) < 0) { in patch_btfids() 1424 pr_err("FAILED to stat %s: %s\n", btfids_path, strerror(errno)); in patch_btfids() 1430 BTF_IDS_SECTION, elf_path, data->d_size, btfids_path, (size_t)st.st_size); in patch_btfids() 1434 btfids_file = fopen(btfids_path, "rb"); in patch_btfids() 1436 pr_err("FAILED to open %s: %s\n", btfids_path, strerror(errno)); in patch_btfids() 1441 btfids_path, BTF_IDS_SECTION, elf_path, data->d_size); in patch_btfids() 1444 pr_err("FAILED to read %s\n", btfids_path); in patch_btfids() 1483 const char *btfids_path = NULL; in main() local 1499 OPT_STRING(0, "patch_btfids", &btfids_path, "file", in main() [all …]
|