Lines Matching refs:pr_warn
318 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg()
844 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog()
894 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog()
928 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs()
934 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs()
940 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs()
954 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs()
1063 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", stname); in find_struct_ops_kern_types()
1070 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", tname); in find_struct_ops_kern_types()
1087 pr_warn("struct_ops init_kern: struct %s data is not found in struct %s\n", in find_struct_ops_kern_types()
1222 pr_warn("struct_ops init_kern %s: failed to resolve the size of member %s\n", in bpf_map__init_kern_struct_ops()
1230 pr_warn("struct_ops init_kern %s: Cannot find member %s in kernel BTF\n", in bpf_map__init_kern_struct_ops()
1256 pr_warn("struct_ops init_kern %s: bitfield %s is not supported\n", in bpf_map__init_kern_struct_ops()
1269 pr_warn("struct_ops init_kern %s: Unmatched member type %s %u != %u(kernel)\n", in bpf_map__init_kern_struct_ops()
1290 pr_warn("struct_ops init_kern %s: member %s is not a struct_ops program\n", in bpf_map__init_kern_struct_ops()
1304 pr_warn("struct_ops init_kern %s: kernel member %s is not a func ptr\n", in bpf_map__init_kern_struct_ops()
1326 …pr_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()
1332 …pr_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()
1349 pr_warn("struct_ops init_kern %s: Error in size of member %s: %zd != %zd(kernel)\n", in bpf_map__init_kern_struct_ops()
1406 pr_warn("struct_ops init: DATASEC %s not found\n", in init_struct_ops_maps()
1419 pr_warn("struct_ops init: Cannot resolve var type_id %u in DATASEC %s\n", in init_struct_ops_maps()
1427 pr_warn("struct_ops init: anonymous type is not supported\n"); in init_struct_ops_maps()
1431 pr_warn("struct_ops init: %s is not a struct\n", tname); in init_struct_ops_maps()
1474 pr_warn("struct_ops init: var %s is beyond the end of DATASEC %s\n", in init_struct_ops_maps()
1524 pr_warn("alloc memory failed for %s\n", path); in bpf_object__new()
1583 pr_warn("elf: init internal error\n"); in bpf_object__elf_init()
1594 pr_warn("elf: failed to open %s: %s\n", obj->path, errstr(err)); in bpf_object__elf_init()
1602 pr_warn("elf: failed to open %s as ELF file: %s\n", obj->path, elf_errmsg(-1)); in bpf_object__elf_init()
1611 pr_warn("elf: '%s' is not a proper ELF object\n", obj->path); in bpf_object__elf_init()
1617 pr_warn("elf: '%s' is not a 64-bit ELF object\n", obj->path); in bpf_object__elf_init()
1623 pr_warn("elf: failed to get ELF header from %s: %s\n", obj->path, elf_errmsg(-1)); in bpf_object__elf_init()
1632 pr_warn("elf: '%s' has unknown byte order\n", obj->path); in bpf_object__elf_init()
1639 pr_warn("elf: failed to get section names section index for %s: %s\n", in bpf_object__elf_init()
1647 pr_warn("elf: failed to get section names strings from %s: %s\n", in bpf_object__elf_init()
1655 pr_warn("elf: %s is not a valid eBPF object file\n", obj->path); in bpf_object__elf_init()
1681 pr_warn("invalid license section in %s\n", obj->path); in bpf_object__init_license()
1698 pr_warn("invalid kver section in %s\n", obj->path); in bpf_object__init_kversion()
1751 pr_warn("failed to get sym name string for var %s\n", name); in find_elf_var_sym()
2003 pr_warn("failed to alloc map '%s' content buffer: %s\n", map->name, errstr(err)); in bpf_object__init_internal_map()
2098 pr_warn("extern (kcfg) '%s': value '%c' implies tristate or char type\n", in set_kcfg_value_tri()
2119 pr_warn("extern (kcfg) '%s': value '%c' implies bool, tristate, or char type\n", in set_kcfg_value_tri()
2133 pr_warn("extern (kcfg) '%s': value '%s' implies char array type\n", in set_kcfg_value_str()
2140 pr_warn("extern (kcfg) '%s': invalid string config '%s'\n", in set_kcfg_value_str()
2148 pr_warn("extern (kcfg) '%s': long string '%s' of (%zu bytes) truncated to %d bytes\n", in set_kcfg_value_str()
2167 pr_warn("failed to parse '%s': %s\n", value, errstr(err)); in parse_u64()
2171 pr_warn("failed to parse '%s' as integer completely\n", value); in parse_u64()
2207 pr_warn("extern (kcfg) '%s': value '%llu' implies integer, char, or boolean type\n", in set_kcfg_value_num()
2212 pr_warn("extern (kcfg) '%s': value '%llu' isn't boolean compatible\n", in set_kcfg_value_num()
2218 pr_warn("extern (kcfg) '%s': value '%llu' doesn't fit in %d bytes\n", in set_kcfg_value_num()
2256 pr_warn("failed to parse '%s': no separator\n", buf); in bpf_object__process_kconfig_line()
2268 pr_warn("failed to parse '%s': no value\n", buf); in bpf_object__process_kconfig_line()
2290 pr_warn("extern (kcfg) '%s': value '%s' isn't a valid integer\n", ext->name, value); in bpf_object__process_kconfig_line()
2294 pr_warn("extern (kcfg) '%s': value '%s' implies integer type\n", ext->name, value); in bpf_object__process_kconfig_line()
2326 pr_warn("failed to open system Kconfig\n"); in bpf_object__read_kconfig_file()
2333 pr_warn("error parsing system Kconfig line '%s': %s\n", in bpf_object__read_kconfig_file()
2354 pr_warn("failed to open in-memory Kconfig: %s\n", errstr(err)); in bpf_object__read_kconfig_mem()
2361 pr_warn("error parsing in-memory Kconfig line '%s': %s\n", in bpf_object__read_kconfig_mem()
2477 pr_warn("map '%s': attr '%s': expected PTR, got %s.\n", in get_map_field_int()
2484 pr_warn("map '%s': attr '%s': type [%u] not found.\n", in get_map_field_int()
2489 pr_warn("map '%s': attr '%s': expected ARRAY, got %s.\n", in get_map_field_int()
2515 pr_warn("map '%s': attr '%s': expected ENUM or ENUM64, got %s.\n", in get_map_field_long()
2521 pr_warn("map '%s': attr '%s': invalid __ulong\n", in get_map_field_long()
2588 pr_warn("map '%s': invalid field #%d.\n", map_name, i); in parse_btf_map_def()
2613 pr_warn("map '%s': conflicting key size %u != %u.\n", in parse_btf_map_def()
2624 pr_warn("map '%s': key type [%d] not found.\n", in parse_btf_map_def()
2629 pr_warn("map '%s': key spec is not PTR: %s.\n", in parse_btf_map_def()
2635 pr_warn("map '%s': can't determine key size for type [%u]: %zd.\n", in parse_btf_map_def()
2640 pr_warn("map '%s': conflicting key size %u != %zd.\n", in parse_btf_map_def()
2653 pr_warn("map '%s': conflicting value size %u != %u.\n", in parse_btf_map_def()
2664 pr_warn("map '%s': value type [%d] not found.\n", in parse_btf_map_def()
2669 pr_warn("map '%s': value spec is not PTR: %s.\n", in parse_btf_map_def()
2675 pr_warn("map '%s': can't determine value size for type [%u]: %zd.\n", in parse_btf_map_def()
2680 pr_warn("map '%s': conflicting value size %u != %zd.\n", in parse_btf_map_def()
2696 pr_warn("map '%s': multi-level inner maps not supported.\n", in parse_btf_map_def()
2701 pr_warn("map '%s': '%s' member should be last.\n", in parse_btf_map_def()
2706 pr_warn("map '%s': should be map-in-map or prog-array.\n", in parse_btf_map_def()
2711 pr_warn("map '%s': conflicting value size %u != 4.\n", in parse_btf_map_def()
2718 pr_warn("map '%s': %s type [%d] not found.\n", in parse_btf_map_def()
2723 pr_warn("map '%s': %s spec is not a zero-sized array.\n", in parse_btf_map_def()
2729 pr_warn("map '%s': %s def is of unexpected kind %s.\n", in parse_btf_map_def()
2736 pr_warn("map '%s': prog-array value def is of unexpected kind %s.\n", in parse_btf_map_def()
2743 pr_warn("map '%s': map-in-map inner def is of unexpected kind %s.\n", in parse_btf_map_def()
2758 pr_warn("map '%s': inner def can't be pinned.\n", map_name); in parse_btf_map_def()
2764 pr_warn("map '%s': invalid pinning value %u.\n", in parse_btf_map_def()
2779 pr_warn("map '%s': unknown field '%s'.\n", map_name, name); in parse_btf_map_def()
2787 pr_warn("map '%s': map type isn't specified.\n", map_name); in parse_btf_map_def()
2909 pr_warn("map #%d: empty name.\n", var_idx); in bpf_object__init_user_btf_map()
2913 pr_warn("map '%s' BTF data is corrupted.\n", map_name); in bpf_object__init_user_btf_map()
2917 pr_warn("map '%s': unexpected var kind %s.\n", in bpf_object__init_user_btf_map()
2922 pr_warn("map '%s': unsupported map linkage %s.\n", in bpf_object__init_user_btf_map()
2929 pr_warn("map '%s': unexpected def kind %s.\n", in bpf_object__init_user_btf_map()
2934 pr_warn("map '%s': invalid def size.\n", map_name); in bpf_object__init_user_btf_map()
2943 pr_warn("map '%s': failed to alloc map name.\n", map_name); in bpf_object__init_user_btf_map()
2963 pr_warn("map '%s': couldn't build pin path.\n", map->name); in bpf_object__init_user_btf_map()
3001 …pr_warn("elf: sec '%s': declared ARENA map size (%zu) is too small to hold global __arena variable… in init_arena_map_data()
3034 pr_warn("elf: failed to get %s map definitions for %s\n", in bpf_object__init_user_btf_maps()
3053 pr_warn("DATASEC '%s' not found.\n", MAPS_ELF_SEC); in bpf_object__init_user_btf_maps()
3074 pr_warn("map '%s': only single ARENA map is supported (map '%s' is also ARENA)\n", in bpf_object__init_user_btf_maps()
3089 …pr_warn("elf: sec '%s': to use global __arena variables the ARENA map should be explicitly declare… in bpf_object__init_user_btf_maps()
3278 pr_warn("Error loading ELF section %s: %s.\n", BTF_ELF_SEC, errstr(err)); in bpf_object__init_btf()
3296 pr_warn("Error loading ELF section %s: %s. Ignored and continue.\n", in bpf_object__init_btf()
3341 pr_warn("BTF is required, but is missing or corrupted.\n"); in bpf_object__init_btf()
3544 pr_warn("Error loading vmlinux BTF: %s\n", errstr(err)); in bpf_object__load_vmlinux_btf()
3648 pr_warn("Error loading .BTF into kernel: %s. BTF is mandatory, can't proceed.\n", in bpf_object__sanitize_and_load_btf()
3665 pr_warn("elf: failed to get section name string at offset %zu from %s: %s\n", in elf_sym_str()
3679 pr_warn("elf: failed to get section name string at offset %zu from %s: %s\n", in elf_sec_str()
3693 pr_warn("elf: failed to get section(%zu) from %s: %s\n", in elf_sec_by_idx()
3728 pr_warn("elf: failed to get section(%zu) header from %s: %s\n", in elf_sec_hdr()
3750 pr_warn("elf: failed to get section(%zu) name from %s: %s\n", in elf_sec_name()
3767 pr_warn("elf: failed to get section(%zu) %s data from %s: %s\n", in elf_sec_data()
3862 pr_warn("elf: failed to get the number of sections for %s: %s\n", in bpf_object__elf_collect()
3881 pr_warn("elf: multiple symbol tables in %s\n", obj->path); in bpf_object__elf_collect()
3898 pr_warn("elf: couldn't find symbol table in %s, stripped object file?\n", in bpf_object__elf_collect()
3937 pr_warn("elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+\n"); in bpf_object__elf_collect()
4025 pr_warn("elf: symbol strings section missing or invalid in %s\n", obj->path); in bpf_object__elf_collect()
4243 pr_warn("cannot create a dummy_ksym var\n"); in add_dummy_ksym_var()
4296 pr_warn("failed to find BTF for extern '%s': %d\n", in bpf_object__collect_externs()
4317 pr_warn("failed to find BTF for extern '%s' [%d] section: %d\n", in bpf_object__collect_externs()
4326 pr_warn("extern function %s is unsupported under %s section\n", in bpf_object__collect_externs()
4334 pr_warn("failed to resolve size of extern (kcfg) '%s': %d\n", in bpf_object__collect_externs()
4340 pr_warn("failed to determine alignment of extern (kcfg) '%s': %d\n", in bpf_object__collect_externs()
4347 pr_warn("extern (kcfg) '%s': type is unsupported\n", ext_name); in bpf_object__collect_externs()
4356 pr_warn("unrecognized extern section '%s'\n", sec_name); in bpf_object__collect_externs()
4403 pr_warn("failed to find extern definition for BTF %s '%s'\n", in bpf_object__collect_externs()
4458 pr_warn("failed to find extern definition for BTF var '%s'\n", in bpf_object__collect_externs()
4578 pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", in bpf_program__record_reloc()
4594 pr_warn("prog '%s': extern relo failed to find extern for '%s' (%d)\n", in bpf_program__record_reloc()
4612 pr_warn("prog '%s': incorrect bpf_call opcode\n", prog->name); in bpf_program__record_reloc()
4618 pr_warn("prog '%s': bad call relo against '%s' in section '%s'\n", in bpf_program__record_reloc()
4623 pr_warn("prog '%s': bad call relo against '%s' at offset %zu\n", in bpf_program__record_reloc()
4634 …pr_warn("prog '%s': invalid relo against '%s' in special section 0x%x; forgot to initialize global… in bpf_program__record_reloc()
4645 pr_warn("prog '%s': bad subprog addr relo against '%s' at offset %zu+%d\n", in bpf_program__record_reloc()
4662 pr_warn("prog '%s': bad arena data relocation at insn %u, no arena maps defined\n", in bpf_program__record_reloc()
4691 pr_warn("prog '%s': bad map relo against '%s' in section '%s'\n", in bpf_program__record_reloc()
4707 pr_warn("prog '%s': map relo failed to find map for section '%s', off %zu\n", in bpf_program__record_reloc()
4720 pr_warn("prog '%s': bad data relo against section '%s'\n", in bpf_program__record_reloc()
4734 pr_warn("prog '%s': data relo failed to find map for section '%s'\n", in bpf_program__record_reloc()
4815 pr_warn("sec '%s': failed to get relo #%d\n", relo_sec_name, i); in bpf_object__collect_prog_relos()
4822 pr_warn("sec '%s': symbol #%zu not found for relo #%d\n", in bpf_object__collect_prog_relos()
4828 pr_warn("sec '%s': corrupted symbol #%zu pointing to invalid section #%zu for relo #%d\n", in bpf_object__collect_prog_relos()
4834 pr_warn("sec '%s': invalid offset 0x%zx for relo #%d\n", in bpf_object__collect_prog_relos()
4923 pr_warn("failed to open %s: %s. No procfs support?\n", file, in bpf_get_map_info_from_fdinfo()
5134 pr_warn("Failed to bump RLIMIT_MEMLOCK (err = %s), you might need to do it explicitly!\n", in bpf_object__probe_loading()
5143 …pr_warn("Error in %s(): %s. Couldn't load trivial BPF program. Make sure your kernel supports BPF … in bpf_object__probe_loading()
5177 pr_warn("failed to get map info for map FD %d: %s\n", map_fd, in map_is_reuse_compat()
5214 pr_warn("couldn't retrieve pinned map '%s': %s\n", in bpf_object__reuse_map()
5220 pr_warn("couldn't reuse pinned map at '%s': parameter mismatch\n", in bpf_object__reuse_map()
5255 pr_warn("map '%s': failed to set initial contents: %s\n", in bpf_object__populate_internal_map()
5265 pr_warn("map '%s': failed to freeze as read-only: %s\n", in bpf_object__populate_internal_map()
5292 pr_warn("map '%s': failed to re-mmap() contents: %s\n", in bpf_object__populate_internal_map()
5353 pr_warn("map '%s': failed to create inner map: %s\n", in bpf_object__create_map()
5409 pr_warn("Error in bpf_create_map_xattr(%s): %s. Retrying without BTF.\n", in bpf_object__create_map()
5465 pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", in init_map_in_map_slots()
5498 pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", in init_prog_array_slots()
5537 pr_warn("map '%s': failed to determine number of system CPUs: %d\n", in map_set_def_max_entries()
5590 pr_warn("map '%s': error reusing pinned map\n", in bpf_object__create_maps()
5595 pr_warn("map '%s': cannot find pinned map\n", in bpf_object__create_maps()
5625 pr_warn("map '%s': failed to mmap arena: %s\n", in bpf_object__create_maps()
5649 pr_warn("map '%s': failed to auto-pin at '%s': %s\n", in bpf_object__create_maps()
5659 pr_warn("map '%s': failed to create: %s\n", map->name, errstr(err)); in bpf_object__create_maps()
5783 pr_warn("failed to iterate BTF objects: %s\n", errstr(err)); in load_module_btfs()
5792 pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); in load_module_btfs()
5804 pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); in load_module_btfs()
5817 pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", in load_module_btfs()
6010 pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", in bpf_core_resolve_relo()
6047 pr_warn("failed to parse target BTF: %s\n", errstr(err)); in bpf_object__relocate_core()
6107 pr_warn("prog '%s': relo #%d: failed to record relocation: %s\n", in bpf_object__relocate_core()
6117 pr_warn("prog '%s': relo #%d: failed to relocate: %s\n", in bpf_object__relocate_core()
6124 pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", in bpf_object__relocate_core()
6267 pr_warn("map '.jumptables': jumptable start %u should be multiple of %u\n", in create_jt_map()
6273 pr_warn("map '.jumptables': jumptable size %d should be multiple of %u\n", in create_jt_map()
6284 pr_warn("map '.jumptables': ELF file is missing jump table data\n"); in create_jt_map()
6289 pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", in create_jt_map()
6297 pr_warn("map '.jumptables': invalid instruction index %d\n", relo->insn_idx); in create_jt_map()
6323 pr_warn("map '.jumptables': invalid jump table value 0x%llx at offset %u\n", in create_jt_map()
6433 pr_warn("prog '%s': relo #%d: bad insn\n", in bpf_object__relocate_data()
6450 pr_warn("prog '%s': relo #%d: can't create jump table: sym_off %u\n", in bpf_object__relocate_data()
6460 pr_warn("prog '%s': relo #%d: bad relo type %d\n", in bpf_object__relocate_data()
6562 pr_warn("prog '%s': error relocating .BTF.ext function info: %s\n", in reloc_prog_func_and_line_info()
6571 pr_warn("prog '%s': missing .BTF.ext function info.\n", prog->name); in reloc_prog_func_and_line_info()
6575 …pr_warn("prog '%s': missing .BTF.ext function info for the main program, skipping all of .BTF.ext … in reloc_prog_func_and_line_info()
6590 pr_warn("prog '%s': error relocating .BTF.ext line info: %s\n", in reloc_prog_func_and_line_info()
6599 pr_warn("prog '%s': missing .BTF.ext line info.\n", prog->name); in reloc_prog_func_and_line_info()
6603 …pr_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()
6687 pr_warn("prog '%s': failed to realloc prog code\n", main_prog->name); in bpf_object__append_subprog_code()
6706 pr_warn("prog '%s': failed to add subprog offsets: %s\n", in bpf_object__append_subprog_code()
6740 pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", in bpf_object__reloc_code()
6764 pr_warn("prog '%s': missing subprog addr relo for insn #%zu\n", in bpf_object__reloc_code()
6780 pr_warn("prog '%s': no .text section found yet sub-program call exists\n", in bpf_object__reloc_code()
6995 pr_warn("prog '%s': exception_callback:<value> decl tag not applied to the main program\n", in bpf_prog_assign_exc_cb()
7012 pr_warn("prog '%s': exception_callback:<value> decl tag contains empty value\n", in bpf_prog_assign_exc_cb()
7029 pr_warn("prog '%s': exception callback %s must be a global non-hidden function\n", in bpf_prog_assign_exc_cb()
7035 pr_warn("prog '%s': multiple subprogs with same name as exception callback '%s'\n", in bpf_prog_assign_exc_cb()
7046 pr_warn("prog '%s': cannot find exception callback '%s'\n", prog->name, name); in bpf_prog_assign_exc_cb()
7159 pr_warn("prog '%s': subprog '%s' arg#%d is expected to be of `struct %s *` type\n", in need_func_arg_type_fixup()
7381 pr_warn("failed to perform CO-RE relocations: %s\n", in bpf_object__relocate()
7434 pr_warn("prog '%s': failed to relocate calls: %s\n", in bpf_object__relocate()
7471 pr_warn("prog '%s': failed to relocate data references: %s\n", in bpf_object__relocate()
7479 pr_warn("prog '%s': failed to perform .BTF.ext fix ups: %s\n", in bpf_object__relocate()
7518 pr_warn(".maps relo #%d: failed to get ELF relo\n", i); in bpf_object__collect_map_relos()
7524 pr_warn(".maps relo #%d: symbol %zx not found\n", in bpf_object__collect_map_relos()
7545 pr_warn(".maps relo #%d: cannot find map '%s' at rel->r_offset %zu\n", in bpf_object__collect_map_relos()
7555 pr_warn(".maps relo #%d: '%s' isn't a BTF-defined map\n", in bpf_object__collect_map_relos()
7561 pr_warn(".maps relo #%d: hash-of-maps '%s' should have key size %zu.\n", in bpf_object__collect_map_relos()
7567 pr_warn(".maps relo #%d: '%s' isn't a valid map reference\n", in bpf_object__collect_map_relos()
7574 pr_warn(".maps relo #%d: '%s' isn't a valid program reference\n", in bpf_object__collect_map_relos()
7581 pr_warn(".maps relo #%d: '%s' isn't an entry-point program\n", in bpf_object__collect_map_relos()
7646 pr_warn("internal error at %d\n", __LINE__); in bpf_object__collect_relos()
7756 …pr_warn("prog '%s': no BTF-based attach target is specified, use bpf_program__set_attach_target()\… in libbpf_prepare_prog_load()
7804 pr_warn("prog '%s': missing BPF prog type, check ELF section name '%s'\n", in bpf_object_load_prog()
7809 …pr_warn("prog '%s': SEC(\"struct_ops\") program isn't referenced anywhere, did you forget to use i… in bpf_object_load_prog()
7852 pr_warn("prog '%s': failed to prepare load attributes: %s\n", in bpf_object_load_prog()
7917 pr_warn("prog '%s': failed to bind map '%s': %s\n", in bpf_object_load_prog()
7948 pr_warn("prog '%s': BPF program load failed: %s\n", prog->name, errstr(errno)); in bpf_object_load_prog()
7952 pr_warn("prog '%s': -- BEGIN PROG LOAD LOG --\n%s-- END PROG LOAD LOG --\n", in bpf_object_load_prog()
8234 pr_warn("prog '%s': failed to load: %s\n", prog->name, errstr(err)); in bpf_object__load_progs()
8283 pr_warn("prog '%s': failed to initialize: %s\n", in bpf_object_init_progs()
8308 pr_warn("failed to init libelf for %s\n", in bpf_object_open()
8473 pr_warn("failed to open /proc/kallsyms: %s\n", errstr(err)); in libbpf_kallsyms_parse()
8483 pr_warn("failed to read kallsyms entry: %d\n", ret); in libbpf_kallsyms_parse()
8518 pr_warn("extern (ksym) '%s': resolution is ambiguous: 0x%llx or 0x%llx\n", in kallsyms_cb()
8583 pr_warn("extern (var ksym) '%s': not found in kernel BTF\n", in bpf_object__resolve_ksym_var_btf_id()
8606 …pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %… in bpf_object__resolve_ksym_var_btf_id()
8638 pr_warn("extern (func ksym) '%s': not found in kernel or module BTFs\n", in bpf_object__resolve_ksym_func_btf_id()
8652 pr_warn("extern (func ksym) '%s': func_proto [%d] incompatible with %s [%d]\n", in bpf_object__resolve_ksym_func_btf_id()
8662 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()
8760 pr_warn("extern (kcfg) '%s': failed to get kernel version\n", ext->name); in bpf_object__resolve_externs()
8775 pr_warn("extern (kcfg) '%s': unrecognized virtual extern\n", ext->name); in bpf_object__resolve_externs()
8785 pr_warn("extern '%s': unrecognized extern kind\n", ext->name); in bpf_object__resolve_externs()
8821 pr_warn("extern '%s' (strong): not resolved\n", ext->name); in bpf_object__resolve_externs()
8910 pr_warn("object '%s': prepare loading can't be attempted twice\n", obj->name); in bpf_object_prepare()
8945 pr_warn("object '%s': load can't be attempted twice\n", obj->name); in bpf_object_load()
8955 pr_warn("object '%s': loading non-native endianness is unsupported\n", obj->name); in bpf_object_load()
8982 pr_warn("failed to load object '%s'\n", obj->path); in bpf_object_load()
9014 pr_warn("failed to mkdir %s: %s\n", path, errstr(err)); in make_parent_dir()
9034 pr_warn("failed to statfs %s: %s\n", dir, errstr(errno)); in check_path()
9040 pr_warn("specified path %s is not on BPF FS\n", path); in check_path()
9052 pr_warn("prog '%s': can't pin program that wasn't loaded\n", prog->name); in bpf_program__pin()
9066 pr_warn("prog '%s': failed to pin at '%s': %s\n", prog->name, path, errstr(err)); in bpf_program__pin()
9079 pr_warn("prog '%s': can't unpin program that wasn't loaded\n", prog->name); in bpf_program__unpin()
9100 pr_warn("invalid map pointer\n"); in bpf_map__pin()
9105 pr_warn("map '%s': can't pin BPF map without FD (was it created?)\n", map->name); in bpf_map__pin()
9111 pr_warn("map '%s' already has pin path '%s' different from '%s'\n", in bpf_map__pin()
9121 pr_warn("missing a path to pin map '%s' at\n", in bpf_map__pin()
9125 pr_warn("map '%s' already pinned\n", bpf_map__name(map)); in bpf_map__pin()
9155 pr_warn("failed to pin map: %s\n", errstr(err)); in bpf_map__pin()
9164 pr_warn("invalid map pointer\n"); in bpf_map__unpin()
9170 pr_warn("map '%s' already has pin path '%s' different from '%s'\n", in bpf_map__unpin()
9176 pr_warn("no path to unpin map '%s' from\n", in bpf_map__unpin()
9242 pr_warn("object not yet loaded; load it first\n"); in bpf_object__pin_maps()
9321 pr_warn("object not yet loaded; load it first\n"); in bpf_object__pin_programs()
9564 pr_warn("error: program handler doesn't match object\n"); in __bpf_program__iter()
9658 pr_warn("prog '%s': failed to realloc prog code\n", prog->name); in bpf_program__set_insns()
10215 pr_warn("struct_ops reloc: failed to get %d reloc\n", i); in bpf_object__collect_st_ops_relos()
10221 pr_warn("struct_ops reloc: symbol %zx not found\n", in bpf_object__collect_st_ops_relos()
10229 pr_warn("struct_ops reloc: cannot find map at rel->r_offset %zu\n", in bpf_object__collect_st_ops_relos()
10245 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()
10250 pr_warn("struct_ops reloc %s: invalid target program offset %llu\n", in bpf_object__collect_st_ops_relos()
10259 pr_warn("struct_ops reloc %s: cannot find member at moff %u\n", in bpf_object__collect_st_ops_relos()
10267 pr_warn("struct_ops reloc %s: cannot relocate non func ptr %s\n", in bpf_object__collect_st_ops_relos()
10274 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()
10281 pr_warn("struct_ops reloc %s: prog %s is not struct_ops BPF program\n", in bpf_object__collect_st_ops_relos()
10364 pr_warn("vmlinux BTF is not found\n"); in libbpf_find_vmlinux_btf_id()
10370 pr_warn("%s is not found in vmlinux BTF\n", name); in libbpf_find_vmlinux_btf_id()
10386 pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", in libbpf_find_prog_btf_id()
10393 pr_warn("The target program doesn't have BTF\n"); in libbpf_find_prog_btf_id()
10399 pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); in libbpf_find_prog_btf_id()
10405 pr_warn("%s is not found in prog's BTF\n", name); in libbpf_find_prog_btf_id()
10476 pr_warn("prog '%s': attach program FD is not set\n", prog->name); in libbpf_find_attach_btf_id()
10481 pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", in libbpf_find_attach_btf_id()
10501 pr_warn("prog '%s': failed to find kernel BTF type ID of '%s': %s\n", in libbpf_find_attach_btf_id()
10661 pr_warn("map '%s': cannot be resized, map value type is not a datasec\n", in map_btf_datasec_resize()
10669 pr_warn("map '%s': cannot be resized, map value datasec is empty\n", in map_btf_datasec_resize()
10679 pr_warn("map '%s': cannot be resized, last var must be an array\n", in map_btf_datasec_resize()
10688 pr_warn("map '%s': cannot be resized, element size (%d) doesn't align with new total size (%u)\n", in map_btf_datasec_resize()
10730 pr_warn("map '%s': failed to resize memory-mapped region: %s\n", in bpf_map__set_value_size()
10736 pr_warn("map '%s': failed to adjust resized BTF, clearing BTF key/value info: %s\n", in bpf_map__set_value_size()
10819 pr_warn("error: unsupported map type\n"); in bpf_map__set_inner_map_fd()
10823 pr_warn("error: inner_map_fd already specified\n"); in bpf_map__set_inner_map_fd()
10837 pr_warn("exclusive programs must be set before map creation\n"); in bpf_map__set_exclusive_program()
10842 pr_warn("excl_prog and map must be from the same bpf object\n"); in bpf_map__set_exclusive_program()
10868 pr_warn("error in %s: map handler doesn't belong to object\n", in __bpf_map__iter()
10940 pr_warn("map '%s': unexpected key size %zu provided, expected %u\n", in validate_map_op()
10946 pr_warn("map '%s': can't use BPF map without FD (was it created?)\n", map->name); in validate_map_op()
10963 pr_warn("map '%s': BPF_F_CPU and BPF_F_ALL_CPUS are mutually exclusive\n", in validate_map_op()
10968 …pr_warn("map '%s': unexpected value size %zu provided for either BPF_F_CPU or BPF_F_ALL_CPUS, expe… in validate_map_op()
10976 … pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", in validate_map_op()
10984 pr_warn("map '%s': unexpected value size %zu provided, expected %u\n", in validate_map_op()
11079 pr_warn("prog '%s': can't use BPF program without FD (was it loaded?)\n", in bpf_link__update_program()
11145 pr_warn("failed to open link at %s: %d\n", path, fd); in bpf_link__open()
11271 pr_warn("prog '%s': invalid perf event FD %d\n", in bpf_program__attach_perf_event_opts()
11277 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_perf_event_opts()
11297 pr_warn("prog '%s': failed to create BPF link for perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
11304 pr_warn("prog '%s': user context value is not supported\n", prog->name); in bpf_program__attach_perf_event_opts()
11311 pr_warn("prog '%s': failed to attach to perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
11314 …pr_warn("prog '%s': try add PERF_SAMPLE_CALLCHAIN to or remove exclude_callchain_[kernel|user] fro… in bpf_program__attach_perf_event_opts()
11324 pr_warn("prog '%s': failed to enable perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
11416 pr_warn("failed to determine %s perf type: %s\n", in perf_event_open_probe()
11426 pr_warn("failed to determine %s retprobe bit: %s\n", in perf_event_open_probe()
11561 pr_warn("failed to add legacy kprobe event for '%s+0x%zx': %s\n", in perf_event_kprobe_open_legacy()
11569 pr_warn("failed to determine legacy kprobe event id for '%s+0x%zx': %s\n", in perf_event_kprobe_open_legacy()
11586 pr_warn("legacy kprobe perf_event_open() failed: %s\n", in perf_event_kprobe_open_legacy()
11715 pr_warn("prog '%s': failed to create %s '%s+0x%zx' perf event: %s\n", in bpf_program__attach_kprobe_opts()
11725 pr_warn("prog '%s': failed to attach to %s '%s+0x%zx': %s\n", in bpf_program__attach_kprobe_opts()
11889 pr_warn("failed to open %s: %s\n", available_functions_file, errstr(err)); in libbpf_available_kallsyms_parse()
11901 pr_warn("failed to parse available_filter_functions entry: %d\n", ret); in libbpf_available_kallsyms_parse()
11964 pr_warn("failed to open %s: %s\n", available_path, errstr(err)); in libbpf_available_kprobes_parse()
11974 pr_warn("failed to parse available_filter_functions_addrs entry: %d\n", in libbpf_available_kprobes_parse()
12022 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_kprobe_multi_opts()
12053 pr_warn("prog '%s': failed to find a unique match for '%s' (%zu matches)\n", in bpf_program__attach_kprobe_multi_opts()
12087 pr_warn("prog '%s': failed to attach: %s\n", in bpf_program__attach_kprobe_multi_opts()
12123 pr_warn("kprobe name is invalid: %s\n", func_name); in attach_kprobe()
12128 pr_warn("kretprobes do not support offset specification\n"); in attach_kprobe()
12181 pr_warn("kprobe multi pattern is invalid: %s\n", spec); in attach_kprobe_multi()
12207 pr_warn("kprobe session pattern is invalid: %s\n", spec); in attach_kprobe_session()
12239 pr_warn("prog '%s': invalid format of section definition '%s'\n", prog->name, in attach_uprobe_multi()
12283 pr_warn("failed to add legacy uprobe event for %s:0x%zx: %s\n", in perf_event_uprobe_open_legacy()
12290 pr_warn("failed to determine legacy uprobe event id for %s:0x%zx: %s\n", in perf_event_uprobe_open_legacy()
12306 pr_warn("legacy uprobe perf_event_open() failed: %s\n", errstr(err)); in perf_event_uprobe_open_legacy()
12337 pr_warn("zip: failed to open %s: %ld\n", archive_path, ret); in elf_find_func_offset_from_archive()
12343 pr_warn("zip: could not find archive member %s in %s: %ld\n", file_name, in elf_find_func_offset_from_archive()
12351 pr_warn("zip: entry %s of %s is compressed and cannot be handled\n", file_name, in elf_find_func_offset_from_archive()
12359 pr_warn("elf: could not read elf file %s from %s: %s\n", file_name, archive_path, in elf_find_func_offset_from_archive()
12481 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_uprobe_multi()
12528 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_uprobe_multi()
12571 pr_warn("prog '%s': failed to attach multi-uprobe: %s\n", in bpf_program__attach_uprobe_multi()
12623 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_uprobe_opts()
12688 pr_warn("prog '%s': failed to create %s '%s:0x%zx' perf event: %s\n", in bpf_program__attach_uprobe_opts()
12699 pr_warn("prog '%s': failed to attach to %s '%s:0x%zx': %s\n", in bpf_program__attach_uprobe_opts()
12749 pr_warn("prog '%s': section '%s' missing ':function[+offset]' specification\n", in attach_uprobe()
12767 pr_warn("prog '%s': uretprobes do not support offset specification\n", in attach_uprobe()
12776 pr_warn("prog '%s': invalid format of section definition '%s'\n", prog->name, in attach_uprobe()
12812 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_usdt()
12823 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_usdt()
12865 pr_warn("invalid section '%s', expected SEC(\"usdt/<path>:<provider>:<name>\")\n", in attach_usdt()
12906 pr_warn("failed to determine tracepoint '%s/%s' perf event ID: %s\n", in perf_event_open_tracepoint()
12921 pr_warn("tracepoint '%s/%s' perf_event_open() failed: %s\n", in perf_event_open_tracepoint()
12945 pr_warn("prog '%s': failed to create tracepoint '%s/%s' perf event: %s\n", in bpf_program__attach_tracepoint_opts()
12954 pr_warn("prog '%s': failed to attach to tracepoint '%s/%s': %s\n", in bpf_program__attach_tracepoint_opts()
13015 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_raw_tracepoint_opts()
13030 pr_warn("prog '%s': failed to attach to raw tracepoint '%s': %s\n", in bpf_program__attach_raw_tracepoint_opts()
13076 pr_warn("prog '%s': invalid section name '%s'\n", in attach_raw_tp()
13098 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_btf_id()
13113 pr_warn("prog '%s': failed to attach: %s\n", in bpf_program__attach_btf_id()
13160 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program_attach_fd()
13174 pr_warn("prog '%s': failed to attach to %s: %s\n", in bpf_program_attach_fd()
13222 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_cgroup_opts()
13251 pr_warn("prog '%s': target netdevice ifindex cannot be zero\n", in bpf_program__attach_tcx()
13256 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_tcx()
13286 pr_warn("prog '%s': target netdevice ifindex cannot be zero\n", in bpf_program__attach_netkit()
13291 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_netkit()
13311 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n", in bpf_program__attach_freplace()
13317 pr_warn("prog '%s': only BPF_PROG_TYPE_EXT can attach as freplace\n", in bpf_program__attach_freplace()
13358 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_iter()
13372 pr_warn("prog '%s': failed to attach to iterator: %s\n", in bpf_program__attach_iter()
13398 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_netfilter()
13417 pr_warn("prog '%s': failed to attach to netfilter: %s\n", in bpf_program__attach_netfilter()
13435 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach()
13481 pr_warn("map '%s': can't attach non-struct_ops map\n", map->name); in bpf_map__attach_struct_ops()
13486 pr_warn("map '%s': can't attach BPF map without FD (was it created?)\n", map->name); in bpf_map__attach_struct_ops()
13540 pr_warn("map '%s': can't use BPF map without FD (was it created?)\n", map->name); in bpf_link__update_map()
13665 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu); in perf_buffer__free_cpu_buf()
13717 pr_warn("failed to open perf buffer event on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13728 pr_warn("failed to mmap perf buffer on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13735 pr_warn("failed to enable perf buffer event on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13817 pr_warn("page count should be power of two, but is %zu\n", in __perf_buffer__new()
13832 pr_warn("failed to get map info for map FD %d: %s\n", in __perf_buffer__new()
13840 pr_warn("map '%s' should be BPF_MAP_TYPE_PERF_EVENT_ARRAY\n", in __perf_buffer__new()
13862 pr_warn("failed to create epoll instance: %s\n", in __perf_buffer__new()
13882 pr_warn("failed to allocate events: out of memory\n"); in __perf_buffer__new()
13888 pr_warn("failed to allocate buffers: out of memory\n"); in __perf_buffer__new()
13894 pr_warn("failed to get online CPU mask: %s\n", errstr(err)); in __perf_buffer__new()
13923 pr_warn("failed to set cpu #%d, key %d -> perf FD %d: %s\n", in __perf_buffer__new()
13934 pr_warn("failed to epoll_ctl cpu #%d perf FD %d: %s\n", in __perf_buffer__new()
13993 pr_warn("unknown perf sample type %d\n", e->type); in perf_buffer__process_record()
14031 pr_warn("error while processing records: %s\n", errstr(err)); in perf_buffer__poll()
14115 pr_warn("perf_buffer: failed to process records in buffer #%d: %s\n", in perf_buffer__consume()
14176 pr_warn("prog '%s': can't associate BPF program without FD (was it loaded?)\n", in bpf_program__assoc_struct_ops()
14182 pr_warn("prog '%s': can't associate struct_ops program\n", prog->name); in bpf_program__assoc_struct_ops()
14188 pr_warn("map '%s': can't associate BPF map without FD (was it created?)\n", map->name); in bpf_program__assoc_struct_ops()
14193 pr_warn("map '%s': can't associate non-struct_ops map\n", map->name); in bpf_program__assoc_struct_ops()
14216 pr_warn("Failed to get CPU range %s: %d\n", s, n); in parse_cpu_mask_str()
14223 pr_warn("Invalid CPU range [%d,%d] in %s\n", in parse_cpu_mask_str()
14240 pr_warn("Empty CPU range\n"); in parse_cpu_mask_str()
14258 pr_warn("Failed to open cpu mask file %s: %s\n", fcpu, errstr(err)); in parse_cpu_mask_file()
14265 pr_warn("Failed to read cpu mask from %s: %s\n", fcpu, errstr(err)); in parse_cpu_mask_file()
14269 pr_warn("CPU mask is too big in file %s\n", fcpu); in parse_cpu_mask_file()
14317 pr_warn("failed to find skeleton map '%s'\n", name); in populate_skeleton_maps()
14341 pr_warn("failed to find skeleton program '%s'\n", name); in populate_skeleton_progs()
14357 pr_warn("failed to initialize skeleton BPF object '%s': %s\n", in bpf_object__open_skeleton()
14365 pr_warn("failed to populate skeleton maps for '%s': %s\n", s->name, errstr(err)); in bpf_object__open_skeleton()
14371 pr_warn("failed to populate skeleton progs for '%s': %s\n", s->name, errstr(err)); in bpf_object__open_skeleton()
14394 pr_warn("subskeletons require BTF at runtime (object %s)\n", in bpf_object__open_subskeleton()
14401 pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); in bpf_object__open_subskeleton()
14407 pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); in bpf_object__open_subskeleton()
14418 pr_warn("type for map '%1$s' is not a datasec: %2$s\n", in bpf_object__open_subskeleton()
14454 pr_warn("failed to load BPF skeleton '%s': %s\n", s->name, errstr(err)); in bpf_object__load_skeleton()
14496 pr_warn("prog '%s': failed to auto-attach: %s\n", in bpf_object__attach_skeleton()
14528 pr_warn("map '%s': BPF skeleton version is old, skipping map auto-attachment...\n", in bpf_object__attach_skeleton()
14535 pr_warn("map '%s': BPF map skeleton link is uninitialized\n", in bpf_object__attach_skeleton()
14546 pr_warn("map '%s': failed to auto-attach: %s\n", in bpf_object__attach_skeleton()