Lines Matching refs:pr_warn

315 	pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n",  in pr_perm_msg()
810 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog()
860 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog()
894 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs()
900 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs()
906 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs()
920 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs()
1023 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", in find_struct_ops_kern_types()
1037 pr_warn("struct_ops init_kern: struct %s%s is not found in kernel BTF\n", in find_struct_ops_kern_types()
1055 pr_warn("struct_ops init_kern: struct %s data is not found in struct %s%s\n", in find_struct_ops_kern_types()
1190 pr_warn("struct_ops init_kern %s: failed to resolve the size of member %s\n", in bpf_map__init_kern_struct_ops()
1198 pr_warn("struct_ops init_kern %s: Cannot find member %s in kernel BTF\n", in bpf_map__init_kern_struct_ops()
1224 pr_warn("struct_ops init_kern %s: bitfield %s is not supported\n", in bpf_map__init_kern_struct_ops()
1237 pr_warn("struct_ops init_kern %s: Unmatched member type %s %u != %u(kernel)\n", in bpf_map__init_kern_struct_ops()
1258 pr_warn("struct_ops init_kern %s: member %s is not a struct_ops program\n", in bpf_map__init_kern_struct_ops()
1272 pr_warn("struct_ops init_kern %s: kernel member %s is not a func ptr\n", in bpf_map__init_kern_struct_ops()
1294pr_warn("struct_ops init_kern %s func ptr %s: invalid reuse of prog %s in sec %s with type %u: att… in bpf_map__init_kern_struct_ops()
1300pr_warn("struct_ops init_kern %s func ptr %s: invalid reuse of prog %s in sec %s with type %u: exp… in bpf_map__init_kern_struct_ops()
1317 pr_warn("struct_ops init_kern %s: Error in size of member %s: %zd != %zd(kernel)\n", in bpf_map__init_kern_struct_ops()
1374 pr_warn("struct_ops init: DATASEC %s not found\n", in init_struct_ops_maps()
1387 pr_warn("struct_ops init: Cannot resolve var type_id %u in DATASEC %s\n", in init_struct_ops_maps()
1395 pr_warn("struct_ops init: anonymous type is not supported\n"); in init_struct_ops_maps()
1399 pr_warn("struct_ops init: %s is not a struct\n", tname); in init_struct_ops_maps()
1442 pr_warn("struct_ops init: var %s is beyond the end of DATASEC %s\n", in init_struct_ops_maps()
1492 pr_warn("alloc memory failed for %s\n", path); in bpf_object__new()
1550 pr_warn("elf: init internal error\n"); in bpf_object__elf_init()
1561 pr_warn("elf: failed to open %s: %s\n", obj->path, errstr(err)); in bpf_object__elf_init()
1569 pr_warn("elf: failed to open %s as ELF file: %s\n", obj->path, elf_errmsg(-1)); in bpf_object__elf_init()
1578 pr_warn("elf: '%s' is not a proper ELF object\n", obj->path); in bpf_object__elf_init()
1584 pr_warn("elf: '%s' is not a 64-bit ELF object\n", obj->path); in bpf_object__elf_init()
1590 pr_warn("elf: failed to get ELF header from %s: %s\n", obj->path, elf_errmsg(-1)); in bpf_object__elf_init()
1599 pr_warn("elf: '%s' has unknown byte order\n", obj->path); in bpf_object__elf_init()
1606 pr_warn("elf: failed to get section names section index for %s: %s\n", in bpf_object__elf_init()
1614 pr_warn("elf: failed to get section names strings from %s: %s\n", in bpf_object__elf_init()
1622 pr_warn("elf: %s is not a valid eBPF object file\n", obj->path); in bpf_object__elf_init()
1648 pr_warn("invalid license section in %s\n", obj->path); in bpf_object__init_license()
1665 pr_warn("invalid kver section in %s\n", obj->path); in bpf_object__init_kversion()
1718 pr_warn("failed to get sym name string for var %s\n", name); in find_elf_var_sym()
1979 pr_warn("failed to alloc map '%s' content buffer: %s\n", map->name, errstr(err)); in bpf_object__init_internal_map()
2074 pr_warn("extern (kcfg) '%s': value '%c' implies tristate or char type\n", in set_kcfg_value_tri()
2095 pr_warn("extern (kcfg) '%s': value '%c' implies bool, tristate, or char type\n", in set_kcfg_value_tri()
2109 pr_warn("extern (kcfg) '%s': value '%s' implies char array type\n", in set_kcfg_value_str()
2116 pr_warn("extern (kcfg) '%s': invalid string config '%s'\n", in set_kcfg_value_str()
2124 pr_warn("extern (kcfg) '%s': long string '%s' of (%zu bytes) truncated to %d bytes\n", in set_kcfg_value_str()
2143 pr_warn("failed to parse '%s': %s\n", value, errstr(err)); in parse_u64()
2147 pr_warn("failed to parse '%s' as integer completely\n", value); in parse_u64()
2183 pr_warn("extern (kcfg) '%s': value '%llu' implies integer, char, or boolean type\n", in set_kcfg_value_num()
2188 pr_warn("extern (kcfg) '%s': value '%llu' isn't boolean compatible\n", in set_kcfg_value_num()
2194 pr_warn("extern (kcfg) '%s': value '%llu' doesn't fit in %d bytes\n", in set_kcfg_value_num()
2232 pr_warn("failed to parse '%s': no separator\n", buf); in bpf_object__process_kconfig_line()
2244 pr_warn("failed to parse '%s': no value\n", buf); in bpf_object__process_kconfig_line()
2266 pr_warn("extern (kcfg) '%s': value '%s' isn't a valid integer\n", ext->name, value); in bpf_object__process_kconfig_line()
2270 pr_warn("extern (kcfg) '%s': value '%s' implies integer type\n", ext->name, value); in bpf_object__process_kconfig_line()
2302 pr_warn("failed to open system Kconfig\n"); in bpf_object__read_kconfig_file()
2309 pr_warn("error parsing system Kconfig line '%s': %s\n", in bpf_object__read_kconfig_file()
2330 pr_warn("failed to open in-memory Kconfig: %s\n", errstr(err)); in bpf_object__read_kconfig_mem()
2337 pr_warn("error parsing in-memory Kconfig line '%s': %s\n", in bpf_object__read_kconfig_mem()
2453 pr_warn("map '%s': attr '%s': expected PTR, got %s.\n", in get_map_field_int()
2460 pr_warn("map '%s': attr '%s': type [%u] not found.\n", in get_map_field_int()
2465 pr_warn("map '%s': attr '%s': expected ARRAY, got %s.\n", in get_map_field_int()
2491 pr_warn("map '%s': attr '%s': expected ENUM or ENUM64, got %s.\n", in get_map_field_long()
2497 pr_warn("map '%s': attr '%s': invalid __ulong\n", in get_map_field_long()
2564 pr_warn("map '%s': invalid field #%d.\n", map_name, i); in parse_btf_map_def()
2589 pr_warn("map '%s': conflicting key size %u != %u.\n", in parse_btf_map_def()
2600 pr_warn("map '%s': key type [%d] not found.\n", in parse_btf_map_def()
2605 pr_warn("map '%s': key spec is not PTR: %s.\n", in parse_btf_map_def()
2611 pr_warn("map '%s': can't determine key size for type [%u]: %zd.\n", in parse_btf_map_def()
2616 pr_warn("map '%s': conflicting key size %u != %zd.\n", in parse_btf_map_def()
2629 pr_warn("map '%s': conflicting value size %u != %u.\n", in parse_btf_map_def()
2640 pr_warn("map '%s': value type [%d] not found.\n", in parse_btf_map_def()
2645 pr_warn("map '%s': value spec is not PTR: %s.\n", in parse_btf_map_def()
2651 pr_warn("map '%s': can't determine value size for type [%u]: %zd.\n", in parse_btf_map_def()
2656 pr_warn("map '%s': conflicting value size %u != %zd.\n", in parse_btf_map_def()
2672 pr_warn("map '%s': multi-level inner maps not supported.\n", in parse_btf_map_def()
2677 pr_warn("map '%s': '%s' member should be last.\n", in parse_btf_map_def()
2682 pr_warn("map '%s': should be map-in-map or prog-array.\n", in parse_btf_map_def()
2687 pr_warn("map '%s': conflicting value size %u != 4.\n", in parse_btf_map_def()
2694 pr_warn("map '%s': %s type [%d] not found.\n", in parse_btf_map_def()
2699 pr_warn("map '%s': %s spec is not a zero-sized array.\n", in parse_btf_map_def()
2705 pr_warn("map '%s': %s def is of unexpected kind %s.\n", in parse_btf_map_def()
2712 pr_warn("map '%s': prog-array value def is of unexpected kind %s.\n", in parse_btf_map_def()
2719 pr_warn("map '%s': map-in-map inner def is of unexpected kind %s.\n", in parse_btf_map_def()
2734 pr_warn("map '%s': inner def can't be pinned.\n", map_name); in parse_btf_map_def()
2740 pr_warn("map '%s': invalid pinning value %u.\n", in parse_btf_map_def()
2755 pr_warn("map '%s': unknown field '%s'.\n", map_name, name); in parse_btf_map_def()
2763 pr_warn("map '%s': map type isn't specified.\n", map_name); in parse_btf_map_def()
2885 pr_warn("map #%d: empty name.\n", var_idx); in bpf_object__init_user_btf_map()
2889 pr_warn("map '%s' BTF data is corrupted.\n", map_name); in bpf_object__init_user_btf_map()
2893 pr_warn("map '%s': unexpected var kind %s.\n", in bpf_object__init_user_btf_map()
2898 pr_warn("map '%s': unsupported map linkage %s.\n", in bpf_object__init_user_btf_map()
2905 pr_warn("map '%s': unexpected def kind %s.\n", in bpf_object__init_user_btf_map()
2910 pr_warn("map '%s': invalid def size.\n", map_name); in bpf_object__init_user_btf_map()
2919 pr_warn("map '%s': failed to alloc map name.\n", map_name); in bpf_object__init_user_btf_map()
2939 pr_warn("map '%s': couldn't build pin path.\n", map->name); in bpf_object__init_user_btf_map()
2976pr_warn("elf: sec '%s': declared ARENA map size (%zu) is too small to hold global __arena variable… in init_arena_map_data()
3009 pr_warn("elf: failed to get %s map definitions for %s\n", in bpf_object__init_user_btf_maps()
3028 pr_warn("DATASEC '%s' not found.\n", MAPS_ELF_SEC); in bpf_object__init_user_btf_maps()
3049 pr_warn("map '%s': only single ARENA map is supported (map '%s' is also ARENA)\n", in bpf_object__init_user_btf_maps()
3064pr_warn("elf: sec '%s': to use global __arena variables the ARENA map should be explicitly declare… in bpf_object__init_user_btf_maps()
3253 pr_warn("Error loading ELF section %s: %s.\n", BTF_ELF_SEC, errstr(err)); in bpf_object__init_btf()
3271 pr_warn("Error loading ELF section %s: %s. Ignored and continue.\n", in bpf_object__init_btf()
3316 pr_warn("BTF is required, but is missing or corrupted.\n"); in bpf_object__init_btf()
3519 pr_warn("Error loading vmlinux BTF: %s\n", errstr(err)); in bpf_object__load_vmlinux_btf()
3623 pr_warn("Error loading .BTF into kernel: %s. BTF is mandatory, can't proceed.\n", in bpf_object__sanitize_and_load_btf()
3640 pr_warn("elf: failed to get section name string at offset %zu from %s: %s\n", in elf_sym_str()
3654 pr_warn("elf: failed to get section name string at offset %zu from %s: %s\n", in elf_sec_str()
3668 pr_warn("elf: failed to get section(%zu) from %s: %s\n", in elf_sec_by_idx()
3703 pr_warn("elf: failed to get section(%zu) header from %s: %s\n", in elf_sec_hdr()
3725 pr_warn("elf: failed to get section(%zu) name from %s: %s\n", in elf_sec_name()
3742 pr_warn("elf: failed to get section(%zu) %s data from %s: %s\n", in elf_sec_data()
3837 pr_warn("elf: failed to get the number of sections for %s: %s\n", in bpf_object__elf_collect()
3856 pr_warn("elf: multiple symbol tables in %s\n", obj->path); in bpf_object__elf_collect()
3873 pr_warn("elf: couldn't find symbol table in %s, stripped object file?\n", in bpf_object__elf_collect()
3912 pr_warn("elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+\n"); in bpf_object__elf_collect()
3993 pr_warn("elf: symbol strings section missing or invalid in %s\n", obj->path); in bpf_object__elf_collect()
4211 pr_warn("cannot create a dummy_ksym var\n"); in add_dummy_ksym_var()
4264 pr_warn("failed to find BTF for extern '%s': %d\n", in bpf_object__collect_externs()
4283 pr_warn("failed to find BTF for extern '%s' [%d] section: %d\n", in bpf_object__collect_externs()
4292 pr_warn("extern function %s is unsupported under %s section\n", in bpf_object__collect_externs()
4300 pr_warn("failed to resolve size of extern (kcfg) '%s': %d\n", in bpf_object__collect_externs()
4306 pr_warn("failed to determine alignment of extern (kcfg) '%s': %d\n", in bpf_object__collect_externs()
4313 pr_warn("extern (kcfg) '%s': type is unsupported\n", ext_name); in bpf_object__collect_externs()
4322 pr_warn("unrecognized extern section '%s'\n", sec_name); in bpf_object__collect_externs()
4369 pr_warn("failed to find extern definition for BTF %s '%s'\n", in bpf_object__collect_externs()
4424 pr_warn("failed to find extern definition for BTF var '%s'\n", in bpf_object__collect_externs()
4506 pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", in bpf_program__record_reloc()
4522 pr_warn("prog '%s': extern relo failed to find extern for '%s' (%d)\n", in bpf_program__record_reloc()
4540 pr_warn("prog '%s': incorrect bpf_call opcode\n", prog->name); in bpf_program__record_reloc()
4546 pr_warn("prog '%s': bad call relo against '%s' in section '%s'\n", in bpf_program__record_reloc()
4551 pr_warn("prog '%s': bad call relo against '%s' at offset %zu\n", in bpf_program__record_reloc()
4562pr_warn("prog '%s': invalid relo against '%s' in special section 0x%x; forgot to initialize global… in bpf_program__record_reloc()
4573 pr_warn("prog '%s': bad subprog addr relo against '%s' at offset %zu+%d\n", in bpf_program__record_reloc()
4599 pr_warn("prog '%s': bad map relo against '%s' in section '%s'\n", in bpf_program__record_reloc()
4615 pr_warn("prog '%s': map relo failed to find map for section '%s', off %zu\n", in bpf_program__record_reloc()
4628 pr_warn("prog '%s': bad data relo against section '%s'\n", in bpf_program__record_reloc()
4642 pr_warn("prog '%s': data relo failed to find map for section '%s'\n", in bpf_program__record_reloc()
4723 pr_warn("sec '%s': failed to get relo #%d\n", relo_sec_name, i); in bpf_object__collect_prog_relos()
4730 pr_warn("sec '%s': symbol #%zu not found for relo #%d\n", in bpf_object__collect_prog_relos()
4736 pr_warn("sec '%s': corrupted symbol #%zu pointing to invalid section #%zu for relo #%d\n", in bpf_object__collect_prog_relos()
4742 pr_warn("sec '%s': invalid offset 0x%zx for relo #%d\n", in bpf_object__collect_prog_relos()
4831 pr_warn("failed to open %s: %s. No procfs support?\n", file, in bpf_get_map_info_from_fdinfo()
5042 pr_warn("Failed to bump RLIMIT_MEMLOCK (err = %s), you might need to do it explicitly!\n", in bpf_object__probe_loading()
5051pr_warn("Error in %s(): %s. Couldn't load trivial BPF program. Make sure your kernel supports BPF … in bpf_object__probe_loading()
5085 pr_warn("failed to get map info for map FD %d: %s\n", map_fd, in map_is_reuse_compat()
5112 pr_warn("couldn't retrieve pinned map '%s': %s\n", in bpf_object__reuse_map()
5118 pr_warn("couldn't reuse pinned map at '%s': parameter mismatch\n", in bpf_object__reuse_map()
5153 pr_warn("map '%s': failed to set initial contents: %s\n", in bpf_object__populate_internal_map()
5163 pr_warn("map '%s': failed to freeze as read-only: %s\n", in bpf_object__populate_internal_map()
5190 pr_warn("map '%s': failed to re-mmap() contents: %s\n", in bpf_object__populate_internal_map()
5243 pr_warn("map '%s': failed to create inner map: %s\n", in bpf_object__create_map()
5299 pr_warn("Error in bpf_create_map_xattr(%s): %s. Retrying without BTF.\n", in bpf_object__create_map()
5355 pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", in init_map_in_map_slots()
5388 pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", in init_prog_array_slots()
5427 pr_warn("map '%s': failed to determine number of system CPUs: %d\n", in map_set_def_max_entries()
5480 pr_warn("map '%s': error reusing pinned map\n", in bpf_object__create_maps()
5485 pr_warn("map '%s': cannot find pinned map\n", in bpf_object__create_maps()
5515 pr_warn("map '%s': failed to mmap arena: %s\n", in bpf_object__create_maps()
5538 pr_warn("map '%s': failed to auto-pin at '%s': %s\n", in bpf_object__create_maps()
5548 pr_warn("map '%s': failed to create: %s\n", map->name, errstr(err)); in bpf_object__create_maps()
5672 pr_warn("failed to iterate BTF objects: %s\n", errstr(err)); in load_module_btfs()
5681 pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); in load_module_btfs()
5693 pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); in load_module_btfs()
5706 pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", in load_module_btfs()
5899 pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", in bpf_core_resolve_relo()
5936 pr_warn("failed to parse target BTF: %s\n", errstr(err)); in bpf_object__relocate_core()
5996 pr_warn("prog '%s': relo #%d: failed to record relocation: %s\n", in bpf_object__relocate_core()
6006 pr_warn("prog '%s': relo #%d: failed to relocate: %s\n", in bpf_object__relocate_core()
6013 pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", in bpf_object__relocate_core()
6167 pr_warn("prog '%s': relo #%d: bad insn\n", in bpf_object__relocate_data()
6180 pr_warn("prog '%s': relo #%d: bad relo type %d\n", in bpf_object__relocate_data()
6282 pr_warn("prog '%s': error relocating .BTF.ext function info: %s\n", in reloc_prog_func_and_line_info()
6291 pr_warn("prog '%s': missing .BTF.ext function info.\n", prog->name); in reloc_prog_func_and_line_info()
6295pr_warn("prog '%s': missing .BTF.ext function info for the main program, skipping all of .BTF.ext … in reloc_prog_func_and_line_info()
6310 pr_warn("prog '%s': error relocating .BTF.ext line info: %s\n", in reloc_prog_func_and_line_info()
6319 pr_warn("prog '%s': missing .BTF.ext line info.\n", prog->name); in reloc_prog_func_and_line_info()
6323pr_warn("prog '%s': missing .BTF.ext line info for the main program, skipping all of .BTF.ext line… in reloc_prog_func_and_line_info()
6389 pr_warn("prog '%s': failed to realloc prog code\n", main_prog->name); in bpf_object__append_subprog_code()
6434 pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", in bpf_object__reloc_code()
6458 pr_warn("prog '%s': missing subprog addr relo for insn #%zu\n", in bpf_object__reloc_code()
6474 pr_warn("prog '%s': no .text section found yet sub-program call exists\n", in bpf_object__reloc_code()
6689 pr_warn("prog '%s': exception_callback:<value> decl tag not applied to the main program\n", in bpf_prog_assign_exc_cb()
6706 pr_warn("prog '%s': exception_callback:<value> decl tag contains empty value\n", in bpf_prog_assign_exc_cb()
6723 pr_warn("prog '%s': exception callback %s must be a global non-hidden function\n", in bpf_prog_assign_exc_cb()
6729 pr_warn("prog '%s': multiple subprogs with same name as exception callback '%s'\n", in bpf_prog_assign_exc_cb()
6740 pr_warn("prog '%s': cannot find exception callback '%s'\n", prog->name, name); in bpf_prog_assign_exc_cb()
6853 pr_warn("prog '%s': subprog '%s' arg#%d is expected to be of `struct %s *` type\n", in need_func_arg_type_fixup()
7075 pr_warn("failed to perform CO-RE relocations: %s\n", in bpf_object__relocate()
7120 pr_warn("prog '%s': failed to relocate calls: %s\n", in bpf_object__relocate()
7157 pr_warn("prog '%s': failed to relocate data references: %s\n", in bpf_object__relocate()
7165 pr_warn("prog '%s': failed to perform .BTF.ext fix ups: %s\n", in bpf_object__relocate()
7204 pr_warn(".maps relo #%d: failed to get ELF relo\n", i); in bpf_object__collect_map_relos()
7210 pr_warn(".maps relo #%d: symbol %zx not found\n", in bpf_object__collect_map_relos()
7231 pr_warn(".maps relo #%d: cannot find map '%s' at rel->r_offset %zu\n", in bpf_object__collect_map_relos()
7241 pr_warn(".maps relo #%d: '%s' isn't a BTF-defined map\n", in bpf_object__collect_map_relos()
7247 pr_warn(".maps relo #%d: hash-of-maps '%s' should have key size %zu.\n", in bpf_object__collect_map_relos()
7253 pr_warn(".maps relo #%d: '%s' isn't a valid map reference\n", in bpf_object__collect_map_relos()
7260 pr_warn(".maps relo #%d: '%s' isn't a valid program reference\n", in bpf_object__collect_map_relos()
7267 pr_warn(".maps relo #%d: '%s' isn't an entry-point program\n", in bpf_object__collect_map_relos()
7332 pr_warn("internal error at %d\n", __LINE__); in bpf_object__collect_relos()
7442pr_warn("prog '%s': no BTF-based attach target is specified, use bpf_program__set_attach_target()\… in libbpf_prepare_prog_load()
7490 pr_warn("prog '%s': missing BPF prog type, check ELF section name '%s'\n", in bpf_object_load_prog()
7495pr_warn("prog '%s': SEC(\"struct_ops\") program isn't referenced anywhere, did you forget to use i… in bpf_object_load_prog()
7538 pr_warn("prog '%s': failed to prepare load attributes: %s\n", in bpf_object_load_prog()
7603 pr_warn("prog '%s': failed to bind map '%s': %s\n", in bpf_object_load_prog()
7634 pr_warn("prog '%s': BPF program load failed: %s\n", prog->name, errstr(errno)); in bpf_object_load_prog()
7638 pr_warn("prog '%s': -- BEGIN PROG LOAD LOG --\n%s-- END PROG LOAD LOG --\n", in bpf_object_load_prog()
7920 pr_warn("prog '%s': failed to load: %s\n", prog->name, errstr(err)); in bpf_object__load_progs()
7969 pr_warn("prog '%s': failed to initialize: %s\n", in bpf_object_init_progs()
7994 pr_warn("failed to init libelf for %s\n", in bpf_object_open()
8159 pr_warn("failed to open /proc/kallsyms: %s\n", errstr(err)); in libbpf_kallsyms_parse()
8169 pr_warn("failed to read kallsyms entry: %d\n", ret); in libbpf_kallsyms_parse()
8204 pr_warn("extern (ksym) '%s': resolution is ambiguous: 0x%llx or 0x%llx\n", in kallsyms_cb()
8269 pr_warn("extern (var ksym) '%s': not found in kernel BTF\n", in bpf_object__resolve_ksym_var_btf_id()
8292pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %… in bpf_object__resolve_ksym_var_btf_id()
8324 pr_warn("extern (func ksym) '%s': not found in kernel or module BTFs\n", in bpf_object__resolve_ksym_func_btf_id()
8338 pr_warn("extern (func ksym) '%s': func_proto [%d] incompatible with %s [%d]\n", in bpf_object__resolve_ksym_func_btf_id()
8348 pr_warn("extern (func ksym) '%s': module BTF fd index %d too big to fit in bpf_insn offset\n", in bpf_object__resolve_ksym_func_btf_id()
8446 pr_warn("extern (kcfg) '%s': failed to get kernel version\n", ext->name); in bpf_object__resolve_externs()
8461 pr_warn("extern (kcfg) '%s': unrecognized virtual extern\n", ext->name); in bpf_object__resolve_externs()
8471 pr_warn("extern '%s': unrecognized extern kind\n", ext->name); in bpf_object__resolve_externs()
8507 pr_warn("extern '%s' (strong): not resolved\n", ext->name); in bpf_object__resolve_externs()
8596 pr_warn("object '%s': prepare loading can't be attempted twice\n", obj->name); in bpf_object_prepare()
8631 pr_warn("object '%s': load can't be attempted twice\n", obj->name); in bpf_object_load()
8641 pr_warn("object '%s': loading non-native endianness is unsupported\n", obj->name); in bpf_object_load()
8668 pr_warn("failed to load object '%s'\n", obj->path); in bpf_object_load()
8700 pr_warn("failed to mkdir %s: %s\n", path, errstr(err)); in make_parent_dir()
8720 pr_warn("failed to statfs %s: %s\n", dir, errstr(errno)); in check_path()
8726 pr_warn("specified path %s is not on BPF FS\n", path); in check_path()
8738 pr_warn("prog '%s': can't pin program that wasn't loaded\n", prog->name); in bpf_program__pin()
8752 pr_warn("prog '%s': failed to pin at '%s': %s\n", prog->name, path, errstr(err)); in bpf_program__pin()
8765 pr_warn("prog '%s': can't unpin program that wasn't loaded\n", prog->name); in bpf_program__unpin()
8786 pr_warn("invalid map pointer\n"); in bpf_map__pin()
8791 pr_warn("map '%s': can't pin BPF map without FD (was it created?)\n", map->name); in bpf_map__pin()
8797 pr_warn("map '%s' already has pin path '%s' different from '%s'\n", in bpf_map__pin()
8807 pr_warn("missing a path to pin map '%s' at\n", in bpf_map__pin()
8811 pr_warn("map '%s' already pinned\n", bpf_map__name(map)); in bpf_map__pin()
8841 pr_warn("failed to pin map: %s\n", errstr(err)); in bpf_map__pin()
8850 pr_warn("invalid map pointer\n"); in bpf_map__unpin()
8856 pr_warn("map '%s' already has pin path '%s' different from '%s'\n", in bpf_map__unpin()
8862 pr_warn("no path to unpin map '%s' from\n", in bpf_map__unpin()
8928 pr_warn("object not yet loaded; load it first\n"); in bpf_object__pin_maps()
9007 pr_warn("object not yet loaded; load it first\n"); in bpf_object__pin_programs()
9241 pr_warn("error: program handler doesn't match object\n"); in __bpf_program__iter()
9335 pr_warn("prog '%s': failed to realloc prog code\n", prog->name); in bpf_program__set_insns()
9866 pr_warn("struct_ops reloc: failed to get %d reloc\n", i); in bpf_object__collect_st_ops_relos()
9872 pr_warn("struct_ops reloc: symbol %zx not found\n", in bpf_object__collect_st_ops_relos()
9880 pr_warn("struct_ops reloc: cannot find map at rel->r_offset %zu\n", in bpf_object__collect_st_ops_relos()
9896 pr_warn("struct_ops reloc %s: rel->r_offset %zu shdr_idx %u unsupported non-static function\n", in bpf_object__collect_st_ops_relos()
9901 pr_warn("struct_ops reloc %s: invalid target program offset %llu\n", in bpf_object__collect_st_ops_relos()
9910 pr_warn("struct_ops reloc %s: cannot find member at moff %u\n", in bpf_object__collect_st_ops_relos()
9918 pr_warn("struct_ops reloc %s: cannot relocate non func ptr %s\n", in bpf_object__collect_st_ops_relos()
9925 pr_warn("struct_ops reloc %s: cannot find prog at shdr_idx %u to relocate func ptr %s\n", in bpf_object__collect_st_ops_relos()
9932 pr_warn("struct_ops reloc %s: prog %s is not struct_ops BPF program\n", in bpf_object__collect_st_ops_relos()
10015 pr_warn("vmlinux BTF is not found\n"); in libbpf_find_vmlinux_btf_id()
10021 pr_warn("%s is not found in vmlinux BTF\n", name); in libbpf_find_vmlinux_btf_id()
10037 pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", in libbpf_find_prog_btf_id()
10044 pr_warn("The target program doesn't have BTF\n"); in libbpf_find_prog_btf_id()
10050 pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); in libbpf_find_prog_btf_id()
10056 pr_warn("%s is not found in prog's BTF\n", name); in libbpf_find_prog_btf_id()
10127 pr_warn("prog '%s': attach program FD is not set\n", prog->name); in libbpf_find_attach_btf_id()
10132 pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", in libbpf_find_attach_btf_id()
10152 pr_warn("prog '%s': failed to find kernel BTF type ID of '%s': %s\n", in libbpf_find_attach_btf_id()
10312 pr_warn("map '%s': cannot be resized, map value type is not a datasec\n", in map_btf_datasec_resize()
10320 pr_warn("map '%s': cannot be resized, map value datasec is empty\n", in map_btf_datasec_resize()
10330 pr_warn("map '%s': cannot be resized, last var must be an array\n", in map_btf_datasec_resize()
10339 pr_warn("map '%s': cannot be resized, element size (%d) doesn't align with new total size (%u)\n", in map_btf_datasec_resize()
10381 pr_warn("map '%s': failed to resize memory-mapped region: %s\n", in bpf_map__set_value_size()
10387 pr_warn("map '%s': failed to adjust resized BTF, clearing BTF key/value info: %s\n", in bpf_map__set_value_size()
10470 pr_warn("error: unsupported map type\n"); in bpf_map__set_inner_map_fd()
10474 pr_warn("error: inner_map_fd already specified\n"); in bpf_map__set_inner_map_fd()
10498 pr_warn("error in %s: map handler doesn't belong to object\n", in __bpf_map__iter()
10570 pr_warn("map '%s': unexpected key size %zu provided, expected %u\n", in validate_map_op()
10576 pr_warn("map '%s': can't use BPF map without FD (was it created?)\n", map->name); in validate_map_op()
10592pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", in validate_map_op()
10600 pr_warn("map '%s': unexpected value size %zu provided, expected %u\n", in validate_map_op()
10695 pr_warn("prog '%s': can't use BPF program without FD (was it loaded?)\n", in bpf_link__update_program()
10761 pr_warn("failed to open link at %s: %d\n", path, fd); in bpf_link__open()
10887 pr_warn("prog '%s': invalid perf event FD %d\n", in bpf_program__attach_perf_event_opts()
10893 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_perf_event_opts()
10913 pr_warn("prog '%s': failed to create BPF link for perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
10920 pr_warn("prog '%s': user context value is not supported\n", prog->name); in bpf_program__attach_perf_event_opts()
10927 pr_warn("prog '%s': failed to attach to perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
10930pr_warn("prog '%s': try add PERF_SAMPLE_CALLCHAIN to or remove exclude_callchain_[kernel|user] fro… in bpf_program__attach_perf_event_opts()
10938 pr_warn("prog '%s': failed to enable perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
11029 pr_warn("failed to determine %s perf type: %s\n", in perf_event_open_probe()
11039 pr_warn("failed to determine %s retprobe bit: %s\n", in perf_event_open_probe()
11174 pr_warn("failed to add legacy kprobe event for '%s+0x%zx': %s\n", in perf_event_kprobe_open_legacy()
11182 pr_warn("failed to determine legacy kprobe event id for '%s+0x%zx': %s\n", in perf_event_kprobe_open_legacy()
11199 pr_warn("legacy kprobe perf_event_open() failed: %s\n", in perf_event_kprobe_open_legacy()
11330 pr_warn("prog '%s': failed to create %s '%s+0x%zx' perf event: %s\n", in bpf_program__attach_kprobe_opts()
11340 pr_warn("prog '%s': failed to attach to %s '%s+0x%zx': %s\n", in bpf_program__attach_kprobe_opts()
11503 pr_warn("failed to open %s: %s\n", available_functions_file, errstr(err)); in libbpf_available_kallsyms_parse()
11515 pr_warn("failed to parse available_filter_functions entry: %d\n", ret); in libbpf_available_kallsyms_parse()
11578 pr_warn("failed to open %s: %s\n", available_path, errstr(err)); in libbpf_available_kprobes_parse()
11588 pr_warn("failed to parse available_filter_functions_addrs entry: %d\n", in libbpf_available_kprobes_parse()
11636 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_kprobe_multi_opts()
11667 pr_warn("prog '%s': failed to find a unique match for '%s' (%zu matches)\n", in bpf_program__attach_kprobe_multi_opts()
11701 pr_warn("prog '%s': failed to attach: %s\n", in bpf_program__attach_kprobe_multi_opts()
11737 pr_warn("kprobe name is invalid: %s\n", func_name); in attach_kprobe()
11742 pr_warn("kretprobes do not support offset specification\n"); in attach_kprobe()
11795 pr_warn("kprobe multi pattern is invalid: %s\n", spec); in attach_kprobe_multi()
11821 pr_warn("kprobe session pattern is invalid: %s\n", spec); in attach_kprobe_session()
11853 pr_warn("prog '%s': invalid format of section definition '%s'\n", prog->name, in attach_uprobe_multi()
11911 pr_warn("failed to add legacy uprobe event for %s:0x%zx: %s\n", in perf_event_uprobe_open_legacy()
11918 pr_warn("failed to determine legacy uprobe event id for %s:0x%zx: %s\n", in perf_event_uprobe_open_legacy()
11934 pr_warn("legacy uprobe perf_event_open() failed: %s\n", errstr(err)); in perf_event_uprobe_open_legacy()
11965 pr_warn("zip: failed to open %s: %ld\n", archive_path, ret); in elf_find_func_offset_from_archive()
11971 pr_warn("zip: could not find archive member %s in %s: %ld\n", file_name, in elf_find_func_offset_from_archive()
11979 pr_warn("zip: entry %s of %s is compressed and cannot be handled\n", file_name, in elf_find_func_offset_from_archive()
11987 pr_warn("elf: could not read elf file %s from %s: %s\n", file_name, archive_path, in elf_find_func_offset_from_archive()
12111 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_uprobe_multi()
12158 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_uprobe_multi()
12201 pr_warn("prog '%s': failed to attach multi-uprobe: %s\n", in bpf_program__attach_uprobe_multi()
12253 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_uprobe_opts()
12317 pr_warn("prog '%s': failed to create %s '%s:0x%zx' perf event: %s\n", in bpf_program__attach_uprobe_opts()
12328 pr_warn("prog '%s': failed to attach to %s '%s:0x%zx': %s\n", in bpf_program__attach_uprobe_opts()
12378 pr_warn("prog '%s': section '%s' missing ':function[+offset]' specification\n", in attach_uprobe()
12396 pr_warn("prog '%s': uretprobes do not support offset specification\n", in attach_uprobe()
12405 pr_warn("prog '%s': invalid format of section definition '%s'\n", prog->name, in attach_uprobe()
12441 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_usdt()
12452 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_usdt()
12494 pr_warn("invalid section '%s', expected SEC(\"usdt/<path>:<provider>:<name>\")\n", in attach_usdt()
12535 pr_warn("failed to determine tracepoint '%s/%s' perf event ID: %s\n", in perf_event_open_tracepoint()
12550 pr_warn("tracepoint '%s/%s' perf_event_open() failed: %s\n", in perf_event_open_tracepoint()
12574 pr_warn("prog '%s': failed to create tracepoint '%s/%s' perf event: %s\n", in bpf_program__attach_tracepoint_opts()
12583 pr_warn("prog '%s': failed to attach to tracepoint '%s/%s': %s\n", in bpf_program__attach_tracepoint_opts()
12644 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_raw_tracepoint_opts()
12659 pr_warn("prog '%s': failed to attach to raw tracepoint '%s': %s\n", in bpf_program__attach_raw_tracepoint_opts()
12705 pr_warn("prog '%s': invalid section name '%s'\n", in attach_raw_tp()
12727 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_btf_id()
12742 pr_warn("prog '%s': failed to attach: %s\n", in bpf_program__attach_btf_id()
12789 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program_attach_fd()
12803 pr_warn("prog '%s': failed to attach to %s: %s\n", in bpf_program_attach_fd()
12852 pr_warn("prog '%s': target netdevice ifindex cannot be zero\n", in bpf_program__attach_tcx()
12857 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_tcx()
12887 pr_warn("prog '%s': target netdevice ifindex cannot be zero\n", in bpf_program__attach_netkit()
12892 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_netkit()
12912 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n", in bpf_program__attach_freplace()
12918 pr_warn("prog '%s': only BPF_PROG_TYPE_EXT can attach as freplace\n", in bpf_program__attach_freplace()
12959 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_iter()
12973 pr_warn("prog '%s': failed to attach to iterator: %s\n", in bpf_program__attach_iter()
12999 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_netfilter()
13018 pr_warn("prog '%s': failed to attach to netfilter: %s\n", in bpf_program__attach_netfilter()
13036 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach()
13082 pr_warn("map '%s': can't attach non-struct_ops map\n", map->name); in bpf_map__attach_struct_ops()
13087 pr_warn("map '%s': can't attach BPF map without FD (was it created?)\n", map->name); in bpf_map__attach_struct_ops()
13141 pr_warn("map '%s': can't use BPF map without FD (was it created?)\n", map->name); in bpf_link__update_map()
13266 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu); in perf_buffer__free_cpu_buf()
13318 pr_warn("failed to open perf buffer event on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13329 pr_warn("failed to mmap perf buffer on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13336 pr_warn("failed to enable perf buffer event on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13419 pr_warn("page count should be power of two, but is %zu\n", in __perf_buffer__new()
13434 pr_warn("failed to get map info for map FD %d: %s\n", in __perf_buffer__new()
13442 pr_warn("map '%s' should be BPF_MAP_TYPE_PERF_EVENT_ARRAY\n", in __perf_buffer__new()
13464 pr_warn("failed to create epoll instance: %s\n", in __perf_buffer__new()
13484 pr_warn("failed to allocate events: out of memory\n"); in __perf_buffer__new()
13490 pr_warn("failed to allocate buffers: out of memory\n"); in __perf_buffer__new()
13496 pr_warn("failed to get online CPU mask: %s\n", errstr(err)); in __perf_buffer__new()
13525 pr_warn("failed to set cpu #%d, key %d -> perf FD %d: %s\n", in __perf_buffer__new()
13536 pr_warn("failed to epoll_ctl cpu #%d perf FD %d: %s\n", in __perf_buffer__new()
13595 pr_warn("unknown perf sample type %d\n", e->type); in perf_buffer__process_record()
13633 pr_warn("error while processing records: %s\n", errstr(err)); in perf_buffer__poll()
13717 pr_warn("perf_buffer: failed to process records in buffer #%d: %s\n", in perf_buffer__consume()
13787 pr_warn("Failed to get CPU range %s: %d\n", s, n); in parse_cpu_mask_str()
13794 pr_warn("Invalid CPU range [%d,%d] in %s\n", in parse_cpu_mask_str()
13811 pr_warn("Empty CPU range\n"); in parse_cpu_mask_str()
13829 pr_warn("Failed to open cpu mask file %s: %s\n", fcpu, errstr(err)); in parse_cpu_mask_file()
13836 pr_warn("Failed to read cpu mask from %s: %s\n", fcpu, errstr(err)); in parse_cpu_mask_file()
13840 pr_warn("CPU mask is too big in file %s\n", fcpu); in parse_cpu_mask_file()
13888 pr_warn("failed to find skeleton map '%s'\n", name); in populate_skeleton_maps()
13912 pr_warn("failed to find skeleton program '%s'\n", name); in populate_skeleton_progs()
13928 pr_warn("failed to initialize skeleton BPF object '%s': %s\n", in bpf_object__open_skeleton()
13936 pr_warn("failed to populate skeleton maps for '%s': %s\n", s->name, errstr(err)); in bpf_object__open_skeleton()
13942 pr_warn("failed to populate skeleton progs for '%s': %s\n", s->name, errstr(err)); in bpf_object__open_skeleton()
13965 pr_warn("subskeletons require BTF at runtime (object %s)\n", in bpf_object__open_subskeleton()
13972 pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); in bpf_object__open_subskeleton()
13978 pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); in bpf_object__open_subskeleton()
13989 pr_warn("type for map '%1$s' is not a datasec: %2$s\n", in bpf_object__open_subskeleton()
14025 pr_warn("failed to load BPF skeleton '%s': %s\n", s->name, errstr(err)); in bpf_object__load_skeleton()
14064 pr_warn("prog '%s': failed to auto-attach: %s\n", in bpf_object__attach_skeleton()
14096 pr_warn("map '%s': BPF skeleton version is old, skipping map auto-attachment...\n", in bpf_object__attach_skeleton()
14108 pr_warn("map '%s': failed to auto-attach: %s\n", in bpf_object__attach_skeleton()