Lines Matching refs:pr_warn
317 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg()
812 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog()
862 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog()
896 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs()
902 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs()
908 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs()
922 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs()
1025 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", in find_struct_ops_kern_types()
1039 pr_warn("struct_ops init_kern: struct %s%s is not found in kernel BTF\n", in find_struct_ops_kern_types()
1057 pr_warn("struct_ops init_kern: struct %s data is not found in struct %s%s\n", in find_struct_ops_kern_types()
1192 pr_warn("struct_ops init_kern %s: failed to resolve the size of member %s\n", in bpf_map__init_kern_struct_ops()
1200 pr_warn("struct_ops init_kern %s: Cannot find member %s in kernel BTF\n", in bpf_map__init_kern_struct_ops()
1226 pr_warn("struct_ops init_kern %s: bitfield %s is not supported\n", in bpf_map__init_kern_struct_ops()
1239 pr_warn("struct_ops init_kern %s: Unmatched member type %s %u != %u(kernel)\n", in bpf_map__init_kern_struct_ops()
1260 pr_warn("struct_ops init_kern %s: member %s is not a struct_ops program\n", in bpf_map__init_kern_struct_ops()
1274 pr_warn("struct_ops init_kern %s: kernel member %s is not a func ptr\n", in bpf_map__init_kern_struct_ops()
1296 …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()
1302 …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()
1319 pr_warn("struct_ops init_kern %s: Error in size of member %s: %zd != %zd(kernel)\n", in bpf_map__init_kern_struct_ops()
1376 pr_warn("struct_ops init: DATASEC %s not found\n", in init_struct_ops_maps()
1389 pr_warn("struct_ops init: Cannot resolve var type_id %u in DATASEC %s\n", in init_struct_ops_maps()
1397 pr_warn("struct_ops init: anonymous type is not supported\n"); in init_struct_ops_maps()
1401 pr_warn("struct_ops init: %s is not a struct\n", tname); in init_struct_ops_maps()
1444 pr_warn("struct_ops init: var %s is beyond the end of DATASEC %s\n", in init_struct_ops_maps()
1494 pr_warn("alloc memory failed for %s\n", path); in bpf_object__new()
1553 pr_warn("elf: init internal error\n"); in bpf_object__elf_init()
1564 pr_warn("elf: failed to open %s: %s\n", obj->path, errstr(err)); in bpf_object__elf_init()
1572 pr_warn("elf: failed to open %s as ELF file: %s\n", obj->path, elf_errmsg(-1)); in bpf_object__elf_init()
1581 pr_warn("elf: '%s' is not a proper ELF object\n", obj->path); in bpf_object__elf_init()
1587 pr_warn("elf: '%s' is not a 64-bit ELF object\n", obj->path); in bpf_object__elf_init()
1593 pr_warn("elf: failed to get ELF header from %s: %s\n", obj->path, elf_errmsg(-1)); in bpf_object__elf_init()
1602 pr_warn("elf: '%s' has unknown byte order\n", obj->path); in bpf_object__elf_init()
1609 pr_warn("elf: failed to get section names section index for %s: %s\n", in bpf_object__elf_init()
1617 pr_warn("elf: failed to get section names strings from %s: %s\n", in bpf_object__elf_init()
1625 pr_warn("elf: %s is not a valid eBPF object file\n", obj->path); in bpf_object__elf_init()
1651 pr_warn("invalid license section in %s\n", obj->path); in bpf_object__init_license()
1668 pr_warn("invalid kver section in %s\n", obj->path); in bpf_object__init_kversion()
1721 pr_warn("failed to get sym name string for var %s\n", name); in find_elf_var_sym()
1973 pr_warn("failed to alloc map '%s' content buffer: %s\n", map->name, errstr(err)); in bpf_object__init_internal_map()
2068 pr_warn("extern (kcfg) '%s': value '%c' implies tristate or char type\n", in set_kcfg_value_tri()
2089 pr_warn("extern (kcfg) '%s': value '%c' implies bool, tristate, or char type\n", in set_kcfg_value_tri()
2103 pr_warn("extern (kcfg) '%s': value '%s' implies char array type\n", in set_kcfg_value_str()
2110 pr_warn("extern (kcfg) '%s': invalid string config '%s'\n", in set_kcfg_value_str()
2118 pr_warn("extern (kcfg) '%s': long string '%s' of (%zu bytes) truncated to %d bytes\n", in set_kcfg_value_str()
2137 pr_warn("failed to parse '%s': %s\n", value, errstr(err)); in parse_u64()
2141 pr_warn("failed to parse '%s' as integer completely\n", value); in parse_u64()
2177 pr_warn("extern (kcfg) '%s': value '%llu' implies integer, char, or boolean type\n", in set_kcfg_value_num()
2182 pr_warn("extern (kcfg) '%s': value '%llu' isn't boolean compatible\n", in set_kcfg_value_num()
2188 pr_warn("extern (kcfg) '%s': value '%llu' doesn't fit in %d bytes\n", in set_kcfg_value_num()
2226 pr_warn("failed to parse '%s': no separator\n", buf); in bpf_object__process_kconfig_line()
2238 pr_warn("failed to parse '%s': no value\n", buf); in bpf_object__process_kconfig_line()
2260 pr_warn("extern (kcfg) '%s': value '%s' isn't a valid integer\n", ext->name, value); in bpf_object__process_kconfig_line()
2264 pr_warn("extern (kcfg) '%s': value '%s' implies integer type\n", ext->name, value); in bpf_object__process_kconfig_line()
2296 pr_warn("failed to open system Kconfig\n"); in bpf_object__read_kconfig_file()
2303 pr_warn("error parsing system Kconfig line '%s': %s\n", in bpf_object__read_kconfig_file()
2324 pr_warn("failed to open in-memory Kconfig: %s\n", errstr(err)); in bpf_object__read_kconfig_mem()
2331 pr_warn("error parsing in-memory Kconfig line '%s': %s\n", in bpf_object__read_kconfig_mem()
2447 pr_warn("map '%s': attr '%s': expected PTR, got %s.\n", in get_map_field_int()
2454 pr_warn("map '%s': attr '%s': type [%u] not found.\n", in get_map_field_int()
2459 pr_warn("map '%s': attr '%s': expected ARRAY, got %s.\n", in get_map_field_int()
2485 pr_warn("map '%s': attr '%s': expected ENUM or ENUM64, got %s.\n", in get_map_field_long()
2491 pr_warn("map '%s': attr '%s': invalid __ulong\n", in get_map_field_long()
2558 pr_warn("map '%s': invalid field #%d.\n", map_name, i); in parse_btf_map_def()
2583 pr_warn("map '%s': conflicting key size %u != %u.\n", in parse_btf_map_def()
2594 pr_warn("map '%s': key type [%d] not found.\n", in parse_btf_map_def()
2599 pr_warn("map '%s': key spec is not PTR: %s.\n", in parse_btf_map_def()
2605 pr_warn("map '%s': can't determine key size for type [%u]: %zd.\n", in parse_btf_map_def()
2610 pr_warn("map '%s': conflicting key size %u != %zd.\n", in parse_btf_map_def()
2623 pr_warn("map '%s': conflicting value size %u != %u.\n", in parse_btf_map_def()
2634 pr_warn("map '%s': value type [%d] not found.\n", in parse_btf_map_def()
2639 pr_warn("map '%s': value spec is not PTR: %s.\n", in parse_btf_map_def()
2645 pr_warn("map '%s': can't determine value size for type [%u]: %zd.\n", in parse_btf_map_def()
2650 pr_warn("map '%s': conflicting value size %u != %zd.\n", in parse_btf_map_def()
2666 pr_warn("map '%s': multi-level inner maps not supported.\n", in parse_btf_map_def()
2671 pr_warn("map '%s': '%s' member should be last.\n", in parse_btf_map_def()
2676 pr_warn("map '%s': should be map-in-map or prog-array.\n", in parse_btf_map_def()
2681 pr_warn("map '%s': conflicting value size %u != 4.\n", in parse_btf_map_def()
2688 pr_warn("map '%s': %s type [%d] not found.\n", in parse_btf_map_def()
2693 pr_warn("map '%s': %s spec is not a zero-sized array.\n", in parse_btf_map_def()
2699 pr_warn("map '%s': %s def is of unexpected kind %s.\n", in parse_btf_map_def()
2706 pr_warn("map '%s': prog-array value def is of unexpected kind %s.\n", in parse_btf_map_def()
2713 pr_warn("map '%s': map-in-map inner def is of unexpected kind %s.\n", in parse_btf_map_def()
2728 pr_warn("map '%s': inner def can't be pinned.\n", map_name); in parse_btf_map_def()
2734 pr_warn("map '%s': invalid pinning value %u.\n", in parse_btf_map_def()
2749 pr_warn("map '%s': unknown field '%s'.\n", map_name, name); in parse_btf_map_def()
2757 pr_warn("map '%s': map type isn't specified.\n", map_name); in parse_btf_map_def()
2879 pr_warn("map #%d: empty name.\n", var_idx); in bpf_object__init_user_btf_map()
2883 pr_warn("map '%s' BTF data is corrupted.\n", map_name); in bpf_object__init_user_btf_map()
2887 pr_warn("map '%s': unexpected var kind %s.\n", in bpf_object__init_user_btf_map()
2892 pr_warn("map '%s': unsupported map linkage %s.\n", in bpf_object__init_user_btf_map()
2899 pr_warn("map '%s': unexpected def kind %s.\n", in bpf_object__init_user_btf_map()
2904 pr_warn("map '%s': invalid def size.\n", map_name); in bpf_object__init_user_btf_map()
2913 pr_warn("map '%s': failed to alloc map name.\n", map_name); in bpf_object__init_user_btf_map()
2933 pr_warn("map '%s': couldn't build pin path.\n", map->name); in bpf_object__init_user_btf_map()
2970 …pr_warn("elf: sec '%s': declared ARENA map size (%zu) is too small to hold global __arena variable… in init_arena_map_data()
3003 pr_warn("elf: failed to get %s map definitions for %s\n", in bpf_object__init_user_btf_maps()
3022 pr_warn("DATASEC '%s' not found.\n", MAPS_ELF_SEC); in bpf_object__init_user_btf_maps()
3043 pr_warn("map '%s': only single ARENA map is supported (map '%s' is also ARENA)\n", in bpf_object__init_user_btf_maps()
3058 …pr_warn("elf: sec '%s': to use global __arena variables the ARENA map should be explicitly declare… in bpf_object__init_user_btf_maps()
3247 pr_warn("Error loading ELF section %s: %s.\n", BTF_ELF_SEC, errstr(err)); in bpf_object__init_btf()
3265 pr_warn("Error loading ELF section %s: %s. Ignored and continue.\n", in bpf_object__init_btf()
3310 pr_warn("BTF is required, but is missing or corrupted.\n"); in bpf_object__init_btf()
3513 pr_warn("Error loading vmlinux BTF: %s\n", errstr(err)); in bpf_object__load_vmlinux_btf()
3617 pr_warn("Error loading .BTF into kernel: %s. BTF is mandatory, can't proceed.\n", in bpf_object__sanitize_and_load_btf()
3634 pr_warn("elf: failed to get section name string at offset %zu from %s: %s\n", in elf_sym_str()
3648 pr_warn("elf: failed to get section name string at offset %zu from %s: %s\n", in elf_sec_str()
3662 pr_warn("elf: failed to get section(%zu) from %s: %s\n", in elf_sec_by_idx()
3697 pr_warn("elf: failed to get section(%zu) header from %s: %s\n", in elf_sec_hdr()
3719 pr_warn("elf: failed to get section(%zu) name from %s: %s\n", in elf_sec_name()
3736 pr_warn("elf: failed to get section(%zu) %s data from %s: %s\n", in elf_sec_data()
3831 pr_warn("elf: failed to get the number of sections for %s: %s\n", in bpf_object__elf_collect()
3850 pr_warn("elf: multiple symbol tables in %s\n", obj->path); in bpf_object__elf_collect()
3867 pr_warn("elf: couldn't find symbol table in %s, stripped object file?\n", in bpf_object__elf_collect()
3906 pr_warn("elf: legacy map definitions in 'maps' section are not supported by libbpf v1.0+\n"); in bpf_object__elf_collect()
3987 pr_warn("elf: symbol strings section missing or invalid in %s\n", obj->path); in bpf_object__elf_collect()
4205 pr_warn("cannot create a dummy_ksym var\n"); in add_dummy_ksym_var()
4258 pr_warn("failed to find BTF for extern '%s': %d\n", in bpf_object__collect_externs()
4279 pr_warn("failed to find BTF for extern '%s' [%d] section: %d\n", in bpf_object__collect_externs()
4288 pr_warn("extern function %s is unsupported under %s section\n", in bpf_object__collect_externs()
4296 pr_warn("failed to resolve size of extern (kcfg) '%s': %d\n", in bpf_object__collect_externs()
4302 pr_warn("failed to determine alignment of extern (kcfg) '%s': %d\n", in bpf_object__collect_externs()
4309 pr_warn("extern (kcfg) '%s': type is unsupported\n", ext_name); in bpf_object__collect_externs()
4318 pr_warn("unrecognized extern section '%s'\n", sec_name); in bpf_object__collect_externs()
4365 pr_warn("failed to find extern definition for BTF %s '%s'\n", in bpf_object__collect_externs()
4420 pr_warn("failed to find extern definition for BTF var '%s'\n", in bpf_object__collect_externs()
4502 pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", in bpf_program__record_reloc()
4518 pr_warn("prog '%s': extern relo failed to find extern for '%s' (%d)\n", in bpf_program__record_reloc()
4536 pr_warn("prog '%s': incorrect bpf_call opcode\n", prog->name); in bpf_program__record_reloc()
4542 pr_warn("prog '%s': bad call relo against '%s' in section '%s'\n", in bpf_program__record_reloc()
4547 pr_warn("prog '%s': bad call relo against '%s' at offset %zu\n", in bpf_program__record_reloc()
4558 …pr_warn("prog '%s': invalid relo against '%s' in special section 0x%x; forgot to initialize global… in bpf_program__record_reloc()
4569 pr_warn("prog '%s': bad subprog addr relo against '%s' at offset %zu+%d\n", in bpf_program__record_reloc()
4586 pr_warn("prog '%s': bad arena data relocation at insn %u, no arena maps defined\n", in bpf_program__record_reloc()
4605 pr_warn("prog '%s': bad map relo against '%s' in section '%s'\n", in bpf_program__record_reloc()
4621 pr_warn("prog '%s': map relo failed to find map for section '%s', off %zu\n", in bpf_program__record_reloc()
4634 pr_warn("prog '%s': bad data relo against section '%s'\n", in bpf_program__record_reloc()
4648 pr_warn("prog '%s': data relo failed to find map for section '%s'\n", in bpf_program__record_reloc()
4729 pr_warn("sec '%s': failed to get relo #%d\n", relo_sec_name, i); in bpf_object__collect_prog_relos()
4736 pr_warn("sec '%s': symbol #%zu not found for relo #%d\n", in bpf_object__collect_prog_relos()
4742 pr_warn("sec '%s': corrupted symbol #%zu pointing to invalid section #%zu for relo #%d\n", in bpf_object__collect_prog_relos()
4748 pr_warn("sec '%s': invalid offset 0x%zx for relo #%d\n", in bpf_object__collect_prog_relos()
4837 pr_warn("failed to open %s: %s. No procfs support?\n", file, in bpf_get_map_info_from_fdinfo()
5048 pr_warn("Failed to bump RLIMIT_MEMLOCK (err = %s), you might need to do it explicitly!\n", in bpf_object__probe_loading()
5057 …pr_warn("Error in %s(): %s. Couldn't load trivial BPF program. Make sure your kernel supports BPF … in bpf_object__probe_loading()
5091 pr_warn("failed to get map info for map FD %d: %s\n", map_fd, in map_is_reuse_compat()
5118 pr_warn("couldn't retrieve pinned map '%s': %s\n", in bpf_object__reuse_map()
5124 pr_warn("couldn't reuse pinned map at '%s': parameter mismatch\n", in bpf_object__reuse_map()
5159 pr_warn("map '%s': failed to set initial contents: %s\n", in bpf_object__populate_internal_map()
5169 pr_warn("map '%s': failed to freeze as read-only: %s\n", in bpf_object__populate_internal_map()
5196 pr_warn("map '%s': failed to re-mmap() contents: %s\n", in bpf_object__populate_internal_map()
5249 pr_warn("map '%s': failed to create inner map: %s\n", in bpf_object__create_map()
5305 pr_warn("Error in bpf_create_map_xattr(%s): %s. Retrying without BTF.\n", in bpf_object__create_map()
5361 pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", in init_map_in_map_slots()
5394 pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", in init_prog_array_slots()
5433 pr_warn("map '%s': failed to determine number of system CPUs: %d\n", in map_set_def_max_entries()
5486 pr_warn("map '%s': error reusing pinned map\n", in bpf_object__create_maps()
5491 pr_warn("map '%s': cannot find pinned map\n", in bpf_object__create_maps()
5521 pr_warn("map '%s': failed to mmap arena: %s\n", in bpf_object__create_maps()
5544 pr_warn("map '%s': failed to auto-pin at '%s': %s\n", in bpf_object__create_maps()
5554 pr_warn("map '%s': failed to create: %s\n", map->name, errstr(err)); in bpf_object__create_maps()
5678 pr_warn("failed to iterate BTF objects: %s\n", errstr(err)); in load_module_btfs()
5687 pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); in load_module_btfs()
5699 pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); in load_module_btfs()
5712 pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", in load_module_btfs()
5905 pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", in bpf_core_resolve_relo()
5942 pr_warn("failed to parse target BTF: %s\n", errstr(err)); in bpf_object__relocate_core()
6002 pr_warn("prog '%s': relo #%d: failed to record relocation: %s\n", in bpf_object__relocate_core()
6012 pr_warn("prog '%s': relo #%d: failed to relocate: %s\n", in bpf_object__relocate_core()
6019 pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", in bpf_object__relocate_core()
6173 pr_warn("prog '%s': relo #%d: bad insn\n", in bpf_object__relocate_data()
6186 pr_warn("prog '%s': relo #%d: bad relo type %d\n", in bpf_object__relocate_data()
6288 pr_warn("prog '%s': error relocating .BTF.ext function info: %s\n", in reloc_prog_func_and_line_info()
6297 pr_warn("prog '%s': missing .BTF.ext function info.\n", prog->name); in reloc_prog_func_and_line_info()
6301 …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()
6316 pr_warn("prog '%s': error relocating .BTF.ext line info: %s\n", in reloc_prog_func_and_line_info()
6325 pr_warn("prog '%s': missing .BTF.ext line info.\n", prog->name); in reloc_prog_func_and_line_info()
6329 …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()
6395 pr_warn("prog '%s': failed to realloc prog code\n", main_prog->name); in bpf_object__append_subprog_code()
6440 pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", in bpf_object__reloc_code()
6464 pr_warn("prog '%s': missing subprog addr relo for insn #%zu\n", in bpf_object__reloc_code()
6480 pr_warn("prog '%s': no .text section found yet sub-program call exists\n", in bpf_object__reloc_code()
6695 pr_warn("prog '%s': exception_callback:<value> decl tag not applied to the main program\n", in bpf_prog_assign_exc_cb()
6712 pr_warn("prog '%s': exception_callback:<value> decl tag contains empty value\n", in bpf_prog_assign_exc_cb()
6729 pr_warn("prog '%s': exception callback %s must be a global non-hidden function\n", in bpf_prog_assign_exc_cb()
6735 pr_warn("prog '%s': multiple subprogs with same name as exception callback '%s'\n", in bpf_prog_assign_exc_cb()
6746 pr_warn("prog '%s': cannot find exception callback '%s'\n", prog->name, name); in bpf_prog_assign_exc_cb()
6859 pr_warn("prog '%s': subprog '%s' arg#%d is expected to be of `struct %s *` type\n", in need_func_arg_type_fixup()
7081 pr_warn("failed to perform CO-RE relocations: %s\n", in bpf_object__relocate()
7126 pr_warn("prog '%s': failed to relocate calls: %s\n", in bpf_object__relocate()
7163 pr_warn("prog '%s': failed to relocate data references: %s\n", in bpf_object__relocate()
7171 pr_warn("prog '%s': failed to perform .BTF.ext fix ups: %s\n", in bpf_object__relocate()
7210 pr_warn(".maps relo #%d: failed to get ELF relo\n", i); in bpf_object__collect_map_relos()
7216 pr_warn(".maps relo #%d: symbol %zx not found\n", in bpf_object__collect_map_relos()
7237 pr_warn(".maps relo #%d: cannot find map '%s' at rel->r_offset %zu\n", in bpf_object__collect_map_relos()
7247 pr_warn(".maps relo #%d: '%s' isn't a BTF-defined map\n", in bpf_object__collect_map_relos()
7253 pr_warn(".maps relo #%d: hash-of-maps '%s' should have key size %zu.\n", in bpf_object__collect_map_relos()
7259 pr_warn(".maps relo #%d: '%s' isn't a valid map reference\n", in bpf_object__collect_map_relos()
7266 pr_warn(".maps relo #%d: '%s' isn't a valid program reference\n", in bpf_object__collect_map_relos()
7273 pr_warn(".maps relo #%d: '%s' isn't an entry-point program\n", in bpf_object__collect_map_relos()
7338 pr_warn("internal error at %d\n", __LINE__); in bpf_object__collect_relos()
7448 …pr_warn("prog '%s': no BTF-based attach target is specified, use bpf_program__set_attach_target()\… in libbpf_prepare_prog_load()
7496 pr_warn("prog '%s': missing BPF prog type, check ELF section name '%s'\n", in bpf_object_load_prog()
7501 …pr_warn("prog '%s': SEC(\"struct_ops\") program isn't referenced anywhere, did you forget to use i… in bpf_object_load_prog()
7544 pr_warn("prog '%s': failed to prepare load attributes: %s\n", in bpf_object_load_prog()
7609 pr_warn("prog '%s': failed to bind map '%s': %s\n", in bpf_object_load_prog()
7640 pr_warn("prog '%s': BPF program load failed: %s\n", prog->name, errstr(errno)); in bpf_object_load_prog()
7644 pr_warn("prog '%s': -- BEGIN PROG LOAD LOG --\n%s-- END PROG LOAD LOG --\n", in bpf_object_load_prog()
7926 pr_warn("prog '%s': failed to load: %s\n", prog->name, errstr(err)); in bpf_object__load_progs()
7975 pr_warn("prog '%s': failed to initialize: %s\n", in bpf_object_init_progs()
8000 pr_warn("failed to init libelf for %s\n", in bpf_object_open()
8165 pr_warn("failed to open /proc/kallsyms: %s\n", errstr(err)); in libbpf_kallsyms_parse()
8175 pr_warn("failed to read kallsyms entry: %d\n", ret); in libbpf_kallsyms_parse()
8210 pr_warn("extern (ksym) '%s': resolution is ambiguous: 0x%llx or 0x%llx\n", in kallsyms_cb()
8275 pr_warn("extern (var ksym) '%s': not found in kernel BTF\n", in bpf_object__resolve_ksym_var_btf_id()
8298 …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()
8330 pr_warn("extern (func ksym) '%s': not found in kernel or module BTFs\n", in bpf_object__resolve_ksym_func_btf_id()
8344 pr_warn("extern (func ksym) '%s': func_proto [%d] incompatible with %s [%d]\n", in bpf_object__resolve_ksym_func_btf_id()
8354 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()
8452 pr_warn("extern (kcfg) '%s': failed to get kernel version\n", ext->name); in bpf_object__resolve_externs()
8467 pr_warn("extern (kcfg) '%s': unrecognized virtual extern\n", ext->name); in bpf_object__resolve_externs()
8477 pr_warn("extern '%s': unrecognized extern kind\n", ext->name); in bpf_object__resolve_externs()
8513 pr_warn("extern '%s' (strong): not resolved\n", ext->name); in bpf_object__resolve_externs()
8602 pr_warn("object '%s': prepare loading can't be attempted twice\n", obj->name); in bpf_object_prepare()
8637 pr_warn("object '%s': load can't be attempted twice\n", obj->name); in bpf_object_load()
8647 pr_warn("object '%s': loading non-native endianness is unsupported\n", obj->name); in bpf_object_load()
8674 pr_warn("failed to load object '%s'\n", obj->path); in bpf_object_load()
8706 pr_warn("failed to mkdir %s: %s\n", path, errstr(err)); in make_parent_dir()
8726 pr_warn("failed to statfs %s: %s\n", dir, errstr(errno)); in check_path()
8732 pr_warn("specified path %s is not on BPF FS\n", path); in check_path()
8744 pr_warn("prog '%s': can't pin program that wasn't loaded\n", prog->name); in bpf_program__pin()
8758 pr_warn("prog '%s': failed to pin at '%s': %s\n", prog->name, path, errstr(err)); in bpf_program__pin()
8771 pr_warn("prog '%s': can't unpin program that wasn't loaded\n", prog->name); in bpf_program__unpin()
8792 pr_warn("invalid map pointer\n"); in bpf_map__pin()
8797 pr_warn("map '%s': can't pin BPF map without FD (was it created?)\n", map->name); in bpf_map__pin()
8803 pr_warn("map '%s' already has pin path '%s' different from '%s'\n", in bpf_map__pin()
8813 pr_warn("missing a path to pin map '%s' at\n", in bpf_map__pin()
8817 pr_warn("map '%s' already pinned\n", bpf_map__name(map)); in bpf_map__pin()
8847 pr_warn("failed to pin map: %s\n", errstr(err)); in bpf_map__pin()
8856 pr_warn("invalid map pointer\n"); in bpf_map__unpin()
8862 pr_warn("map '%s' already has pin path '%s' different from '%s'\n", in bpf_map__unpin()
8868 pr_warn("no path to unpin map '%s' from\n", in bpf_map__unpin()
8934 pr_warn("object not yet loaded; load it first\n"); in bpf_object__pin_maps()
9013 pr_warn("object not yet loaded; load it first\n"); in bpf_object__pin_programs()
9249 pr_warn("error: program handler doesn't match object\n"); in __bpf_program__iter()
9343 pr_warn("prog '%s': failed to realloc prog code\n", prog->name); in bpf_program__set_insns()
9898 pr_warn("struct_ops reloc: failed to get %d reloc\n", i); in bpf_object__collect_st_ops_relos()
9904 pr_warn("struct_ops reloc: symbol %zx not found\n", in bpf_object__collect_st_ops_relos()
9912 pr_warn("struct_ops reloc: cannot find map at rel->r_offset %zu\n", in bpf_object__collect_st_ops_relos()
9928 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()
9933 pr_warn("struct_ops reloc %s: invalid target program offset %llu\n", in bpf_object__collect_st_ops_relos()
9942 pr_warn("struct_ops reloc %s: cannot find member at moff %u\n", in bpf_object__collect_st_ops_relos()
9950 pr_warn("struct_ops reloc %s: cannot relocate non func ptr %s\n", in bpf_object__collect_st_ops_relos()
9957 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()
9964 pr_warn("struct_ops reloc %s: prog %s is not struct_ops BPF program\n", in bpf_object__collect_st_ops_relos()
10047 pr_warn("vmlinux BTF is not found\n"); in libbpf_find_vmlinux_btf_id()
10053 pr_warn("%s is not found in vmlinux BTF\n", name); in libbpf_find_vmlinux_btf_id()
10069 pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", in libbpf_find_prog_btf_id()
10076 pr_warn("The target program doesn't have BTF\n"); in libbpf_find_prog_btf_id()
10082 pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); in libbpf_find_prog_btf_id()
10088 pr_warn("%s is not found in prog's BTF\n", name); in libbpf_find_prog_btf_id()
10159 pr_warn("prog '%s': attach program FD is not set\n", prog->name); in libbpf_find_attach_btf_id()
10164 pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", in libbpf_find_attach_btf_id()
10184 pr_warn("prog '%s': failed to find kernel BTF type ID of '%s': %s\n", in libbpf_find_attach_btf_id()
10344 pr_warn("map '%s': cannot be resized, map value type is not a datasec\n", in map_btf_datasec_resize()
10352 pr_warn("map '%s': cannot be resized, map value datasec is empty\n", in map_btf_datasec_resize()
10362 pr_warn("map '%s': cannot be resized, last var must be an array\n", in map_btf_datasec_resize()
10371 pr_warn("map '%s': cannot be resized, element size (%d) doesn't align with new total size (%u)\n", in map_btf_datasec_resize()
10413 pr_warn("map '%s': failed to resize memory-mapped region: %s\n", in bpf_map__set_value_size()
10419 pr_warn("map '%s': failed to adjust resized BTF, clearing BTF key/value info: %s\n", in bpf_map__set_value_size()
10502 pr_warn("error: unsupported map type\n"); in bpf_map__set_inner_map_fd()
10506 pr_warn("error: inner_map_fd already specified\n"); in bpf_map__set_inner_map_fd()
10530 pr_warn("error in %s: map handler doesn't belong to object\n", in __bpf_map__iter()
10602 pr_warn("map '%s': unexpected key size %zu provided, expected %u\n", in validate_map_op()
10608 pr_warn("map '%s': can't use BPF map without FD (was it created?)\n", map->name); in validate_map_op()
10624 … pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", in validate_map_op()
10632 pr_warn("map '%s': unexpected value size %zu provided, expected %u\n", in validate_map_op()
10727 pr_warn("prog '%s': can't use BPF program without FD (was it loaded?)\n", in bpf_link__update_program()
10793 pr_warn("failed to open link at %s: %d\n", path, fd); in bpf_link__open()
10919 pr_warn("prog '%s': invalid perf event FD %d\n", in bpf_program__attach_perf_event_opts()
10925 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_perf_event_opts()
10945 pr_warn("prog '%s': failed to create BPF link for perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
10952 pr_warn("prog '%s': user context value is not supported\n", prog->name); in bpf_program__attach_perf_event_opts()
10959 pr_warn("prog '%s': failed to attach to perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
10962 …pr_warn("prog '%s': try add PERF_SAMPLE_CALLCHAIN to or remove exclude_callchain_[kernel|user] fro… in bpf_program__attach_perf_event_opts()
10972 pr_warn("prog '%s': failed to enable perf_event FD %d: %s\n", in bpf_program__attach_perf_event_opts()
11064 pr_warn("failed to determine %s perf type: %s\n", in perf_event_open_probe()
11074 pr_warn("failed to determine %s retprobe bit: %s\n", in perf_event_open_probe()
11209 pr_warn("failed to add legacy kprobe event for '%s+0x%zx': %s\n", in perf_event_kprobe_open_legacy()
11217 pr_warn("failed to determine legacy kprobe event id for '%s+0x%zx': %s\n", in perf_event_kprobe_open_legacy()
11234 pr_warn("legacy kprobe perf_event_open() failed: %s\n", in perf_event_kprobe_open_legacy()
11365 pr_warn("prog '%s': failed to create %s '%s+0x%zx' perf event: %s\n", in bpf_program__attach_kprobe_opts()
11375 pr_warn("prog '%s': failed to attach to %s '%s+0x%zx': %s\n", in bpf_program__attach_kprobe_opts()
11538 pr_warn("failed to open %s: %s\n", available_functions_file, errstr(err)); in libbpf_available_kallsyms_parse()
11550 pr_warn("failed to parse available_filter_functions entry: %d\n", ret); in libbpf_available_kallsyms_parse()
11613 pr_warn("failed to open %s: %s\n", available_path, errstr(err)); in libbpf_available_kprobes_parse()
11623 pr_warn("failed to parse available_filter_functions_addrs entry: %d\n", in libbpf_available_kprobes_parse()
11671 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_kprobe_multi_opts()
11702 pr_warn("prog '%s': failed to find a unique match for '%s' (%zu matches)\n", in bpf_program__attach_kprobe_multi_opts()
11736 pr_warn("prog '%s': failed to attach: %s\n", in bpf_program__attach_kprobe_multi_opts()
11772 pr_warn("kprobe name is invalid: %s\n", func_name); in attach_kprobe()
11777 pr_warn("kretprobes do not support offset specification\n"); in attach_kprobe()
11830 pr_warn("kprobe multi pattern is invalid: %s\n", spec); in attach_kprobe_multi()
11856 pr_warn("kprobe session pattern is invalid: %s\n", spec); in attach_kprobe_session()
11888 pr_warn("prog '%s': invalid format of section definition '%s'\n", prog->name, in attach_uprobe_multi()
11932 pr_warn("failed to add legacy uprobe event for %s:0x%zx: %s\n", in perf_event_uprobe_open_legacy()
11939 pr_warn("failed to determine legacy uprobe event id for %s:0x%zx: %s\n", in perf_event_uprobe_open_legacy()
11955 pr_warn("legacy uprobe perf_event_open() failed: %s\n", errstr(err)); in perf_event_uprobe_open_legacy()
11986 pr_warn("zip: failed to open %s: %ld\n", archive_path, ret); in elf_find_func_offset_from_archive()
11992 pr_warn("zip: could not find archive member %s in %s: %ld\n", file_name, in elf_find_func_offset_from_archive()
12000 pr_warn("zip: entry %s of %s is compressed and cannot be handled\n", file_name, in elf_find_func_offset_from_archive()
12008 pr_warn("elf: could not read elf file %s from %s: %s\n", file_name, archive_path, in elf_find_func_offset_from_archive()
12132 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_uprobe_multi()
12179 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_uprobe_multi()
12222 pr_warn("prog '%s': failed to attach multi-uprobe: %s\n", in bpf_program__attach_uprobe_multi()
12274 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_uprobe_opts()
12339 pr_warn("prog '%s': failed to create %s '%s:0x%zx' perf event: %s\n", in bpf_program__attach_uprobe_opts()
12350 pr_warn("prog '%s': failed to attach to %s '%s:0x%zx': %s\n", in bpf_program__attach_uprobe_opts()
12400 pr_warn("prog '%s': section '%s' missing ':function[+offset]' specification\n", in attach_uprobe()
12418 pr_warn("prog '%s': uretprobes do not support offset specification\n", in attach_uprobe()
12427 pr_warn("prog '%s': invalid format of section definition '%s'\n", prog->name, in attach_uprobe()
12463 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach_usdt()
12474 pr_warn("prog '%s': failed to resolve full path for '%s': %s\n", in bpf_program__attach_usdt()
12516 pr_warn("invalid section '%s', expected SEC(\"usdt/<path>:<provider>:<name>\")\n", in attach_usdt()
12557 pr_warn("failed to determine tracepoint '%s/%s' perf event ID: %s\n", in perf_event_open_tracepoint()
12572 pr_warn("tracepoint '%s/%s' perf_event_open() failed: %s\n", in perf_event_open_tracepoint()
12596 pr_warn("prog '%s': failed to create tracepoint '%s/%s' perf event: %s\n", in bpf_program__attach_tracepoint_opts()
12605 pr_warn("prog '%s': failed to attach to tracepoint '%s/%s': %s\n", in bpf_program__attach_tracepoint_opts()
12666 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_raw_tracepoint_opts()
12681 pr_warn("prog '%s': failed to attach to raw tracepoint '%s': %s\n", in bpf_program__attach_raw_tracepoint_opts()
12727 pr_warn("prog '%s': invalid section name '%s'\n", in attach_raw_tp()
12749 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_btf_id()
12764 pr_warn("prog '%s': failed to attach: %s\n", in bpf_program__attach_btf_id()
12811 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program_attach_fd()
12825 pr_warn("prog '%s': failed to attach to %s: %s\n", in bpf_program_attach_fd()
12873 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_cgroup_opts()
12902 pr_warn("prog '%s': target netdevice ifindex cannot be zero\n", in bpf_program__attach_tcx()
12907 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_tcx()
12937 pr_warn("prog '%s': target netdevice ifindex cannot be zero\n", in bpf_program__attach_netkit()
12942 pr_warn("prog '%s': relative_fd and relative_id cannot be set at the same time\n", in bpf_program__attach_netkit()
12962 pr_warn("prog '%s': supply none or both of target_fd and attach_func_name\n", in bpf_program__attach_freplace()
12968 pr_warn("prog '%s': only BPF_PROG_TYPE_EXT can attach as freplace\n", in bpf_program__attach_freplace()
13009 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_iter()
13023 pr_warn("prog '%s': failed to attach to iterator: %s\n", in bpf_program__attach_iter()
13049 pr_warn("prog '%s': can't attach before loaded\n", prog->name); in bpf_program__attach_netfilter()
13068 pr_warn("prog '%s': failed to attach to netfilter: %s\n", in bpf_program__attach_netfilter()
13086 pr_warn("prog '%s': can't attach BPF program without FD (was it loaded?)\n", in bpf_program__attach()
13132 pr_warn("map '%s': can't attach non-struct_ops map\n", map->name); in bpf_map__attach_struct_ops()
13137 pr_warn("map '%s': can't attach BPF map without FD (was it created?)\n", map->name); in bpf_map__attach_struct_ops()
13191 pr_warn("map '%s': can't use BPF map without FD (was it created?)\n", map->name); in bpf_link__update_map()
13316 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu); in perf_buffer__free_cpu_buf()
13368 pr_warn("failed to open perf buffer event on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13379 pr_warn("failed to mmap perf buffer on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13386 pr_warn("failed to enable perf buffer event on cpu #%d: %s\n", in perf_buffer__open_cpu_buf()
13468 pr_warn("page count should be power of two, but is %zu\n", in __perf_buffer__new()
13483 pr_warn("failed to get map info for map FD %d: %s\n", in __perf_buffer__new()
13491 pr_warn("map '%s' should be BPF_MAP_TYPE_PERF_EVENT_ARRAY\n", in __perf_buffer__new()
13513 pr_warn("failed to create epoll instance: %s\n", in __perf_buffer__new()
13533 pr_warn("failed to allocate events: out of memory\n"); in __perf_buffer__new()
13539 pr_warn("failed to allocate buffers: out of memory\n"); in __perf_buffer__new()
13545 pr_warn("failed to get online CPU mask: %s\n", errstr(err)); in __perf_buffer__new()
13574 pr_warn("failed to set cpu #%d, key %d -> perf FD %d: %s\n", in __perf_buffer__new()
13585 pr_warn("failed to epoll_ctl cpu #%d perf FD %d: %s\n", in __perf_buffer__new()
13644 pr_warn("unknown perf sample type %d\n", e->type); in perf_buffer__process_record()
13682 pr_warn("error while processing records: %s\n", errstr(err)); in perf_buffer__poll()
13766 pr_warn("perf_buffer: failed to process records in buffer #%d: %s\n", in perf_buffer__consume()
13836 pr_warn("Failed to get CPU range %s: %d\n", s, n); in parse_cpu_mask_str()
13843 pr_warn("Invalid CPU range [%d,%d] in %s\n", in parse_cpu_mask_str()
13860 pr_warn("Empty CPU range\n"); in parse_cpu_mask_str()
13878 pr_warn("Failed to open cpu mask file %s: %s\n", fcpu, errstr(err)); in parse_cpu_mask_file()
13885 pr_warn("Failed to read cpu mask from %s: %s\n", fcpu, errstr(err)); in parse_cpu_mask_file()
13889 pr_warn("CPU mask is too big in file %s\n", fcpu); in parse_cpu_mask_file()
13937 pr_warn("failed to find skeleton map '%s'\n", name); in populate_skeleton_maps()
13961 pr_warn("failed to find skeleton program '%s'\n", name); in populate_skeleton_progs()
13977 pr_warn("failed to initialize skeleton BPF object '%s': %s\n", in bpf_object__open_skeleton()
13985 pr_warn("failed to populate skeleton maps for '%s': %s\n", s->name, errstr(err)); in bpf_object__open_skeleton()
13991 pr_warn("failed to populate skeleton progs for '%s': %s\n", s->name, errstr(err)); in bpf_object__open_skeleton()
14014 pr_warn("subskeletons require BTF at runtime (object %s)\n", in bpf_object__open_subskeleton()
14021 pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); in bpf_object__open_subskeleton()
14027 pr_warn("failed to populate subskeleton maps: %s\n", errstr(err)); in bpf_object__open_subskeleton()
14038 pr_warn("type for map '%1$s' is not a datasec: %2$s\n", in bpf_object__open_subskeleton()
14074 pr_warn("failed to load BPF skeleton '%s': %s\n", s->name, errstr(err)); in bpf_object__load_skeleton()
14113 pr_warn("prog '%s': failed to auto-attach: %s\n", in bpf_object__attach_skeleton()
14145 pr_warn("map '%s': BPF skeleton version is old, skipping map auto-attachment...\n", in bpf_object__attach_skeleton()
14152 pr_warn("map '%s': BPF map skeleton link is uninitialized\n", in bpf_object__attach_skeleton()
14163 pr_warn("map '%s': failed to auto-attach: %s\n", in bpf_object__attach_skeleton()