Home
last modified time | relevance | path

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

/linux/tools/bpf/resolve_btfids/
H A Dmain.c1362 static int patch_btfids(const char *btfids_path, const char *elf_path) in patch_btfids() argument
1422 if (stat(btfids_path, &st) < 0) { in patch_btfids()
1423 pr_err("FAILED to stat %s: %s\n", btfids_path, strerror(errno)); in patch_btfids()
1429 BTF_IDS_SECTION, elf_path, data->d_size, btfids_path, (size_t)st.st_size); in patch_btfids()
1433 btfids_file = fopen(btfids_path, "rb"); in patch_btfids()
1435 pr_err("FAILED to open %s: %s\n", btfids_path, strerror(errno)); in patch_btfids()
1440 btfids_path, BTF_IDS_SECTION, elf_path, data->d_size); in patch_btfids()
1443 pr_err("FAILED to read %s\n", btfids_path); in patch_btfids()
1482 const char *btfids_path = NULL; in main() local
1498 OPT_STRING(0, "patch_btfids", &btfids_path, "file", in main()
[all …]