/third_party/libbpf/src/ |
H A D | usdt.c | 265 pr_warn("usdt: failed to find USDT support BPF maps, did you forget to include bpf/usdt.bpf.h?\n"); in usdt_manager_new() 311 pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); in sanity_check_usdt_elf() 318 pr_warn("usdt: attaching to 64-bit ELF binary '%s' is not supported\n", path); in sanity_check_usdt_elf() 324 pr_warn("usdt: attaching to 32-bit ELF binary '%s' is not supported\n", path); in sanity_check_usdt_elf() 329 pr_warn("usdt: unsupported ELF class for '%s'\n", path); in sanity_check_usdt_elf() 337 pr_warn("usdt: unsupported type of ELF binary '%s' (%d), only ET_EXEC and ET_DYN are supported\n", in sanity_check_usdt_elf() 350 pr_warn("usdt: ELF endianness mismatch for '%s'\n", path); in sanity_check_usdt_elf() 442 pr_warn("usdt: failed to find PT_LOAD program headers in '%s'\n", path); in parse_elf_segs() 468 pr_warn("usdt: failed to get absolute path of '%s' (err %d), using path as is...\n", in parse_vma_segs() 478 pr_warn("usd in parse_vma_segs() [all...] |
H A D | linker.c | 308 pr_warn("failed to create '%s': %d\n", file, err); in init_output_elf() 563 pr_warn("failed to open file '%s': %d\n", filename, err); in linker_load_obj_file() 646 pr_warn("multiple SYMTAB sections found, not supported\n"); in linker_load_obj_file() 659 pr_warn("failed to parse .BTF from %s: %d\n", filename, err); in linker_load_obj_file() 669 pr_warn("failed to parse .BTF.ext from '%s': %d\n", filename, err); in linker_load_obj_file() 685 pr_warn("unrecognized section #%zu (%s) in %s\n", in linker_load_obj_file() 706 pr_warn("ELF is missing SYMTAB section in %s\n", obj->filename); in linker_sanity_check_elf() 710 pr_warn("ELF is missing section headers STRTAB section in %s\n", obj->filename); in linker_sanity_check_elf() 718 pr_warn("ELF section #%zu has empty name in %s\n", sec->sec_idx, obj->filename); in linker_sanity_check_elf() 754 pr_warn("EL in linker_sanity_check_elf() [all...] |
H A D | libbpf.c | 288 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg() 795 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog() 845 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog() 879 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs() 885 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs() 891 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs() 905 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs() 983 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", in find_struct_ops_kern_types() 997 pr_warn("struct_ops init_kern: struct %s%s is not found in kernel BTF\n", in find_struct_ops_kern_types() 1015 pr_warn("struct_op in find_struct_ops_kern_types() [all...] |
H A D | ringbuf.c | 91 pr_warn("ringbuf: failed to get map info for fd=%d: %d\n", in ring_buffer__add() 97 pr_warn("ringbuf: map fd=%d is not BPF_MAP_TYPE_RINGBUF\n", in ring_buffer__add() 126 pr_warn("ringbuf: failed to mmap consumer page for map fd=%d: %d\n", in ring_buffer__add() 139 pr_warn("ringbuf: ring buffer size (%u) is too big\n", info.max_entries); in ring_buffer__add() 145 pr_warn("ringbuf: failed to mmap data pages for map fd=%d: %d\n", in ring_buffer__add() 159 pr_warn("ringbuf: failed to epoll add map fd=%d: %d\n", in ring_buffer__add() 208 pr_warn("ringbuf: failed to create epoll instance: %d\n", err); in ring_buffer__new() 424 pr_warn("user ringbuf: failed to get map info for fd=%d: %d\n", map_fd, err); in user_ringbuf_map() 429 pr_warn("user ringbuf: map fd=%d is not BPF_MAP_TYPE_USER_RINGBUF\n", map_fd); in user_ringbuf_map() 440 pr_warn("use in user_ringbuf_map() [all...] |
H A D | elf.c | 42 pr_warn("elf: failed to init libelf for %s\n", binary_path); in elf_open() 48 pr_warn("elf: failed to open %s: %s\n", binary_path, in elf_open() 54 pr_warn("elf: could not read elf from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_open() 69 pr_warn("elf: could not read elf from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_open() 138 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new() 162 pr_warn("elf: failed to get verdef ELF section in '%s'\n", binary_path); in elf_sym_iter_new() 361 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_find_func_offset() 414 pr_warn("elf: ambiguous match for '%s', '%s' in '%s'\n", in elf_find_func_offset() 438 pr_warn("elf: '%s' is 0 in symtab for '%s': %s\n", name, binary_path, in elf_find_func_offset() 443 pr_warn("el in elf_find_func_offset() [all...] |
H A D | relo_core.c | 50 #undef pr_warn macro 53 #define pr_warn(fmt, log, ...) bpf_log((void *)log, fmt, "", ##__VA_ARGS__) macro 220 pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", in __bpf_core_types_are_compat() 386 pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", in bpf_core_parse_spec() 721 pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", in bpf_core_calc_field_relo() 743 pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", in bpf_core_calc_field_relo() 957 pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", in bpf_core_calc_relo() 1053 pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", in bpf_core_patch_insn() 1069 pr_warn("prog '%s': relo #%d: unexpected insn #%d (LDX/ST/STX) value: got %u, exp %llu -> %llu\n", in bpf_core_patch_insn() 1075 pr_warn("pro in bpf_core_patch_insn() [all...] |
H A D | nlattr.c | 125 pr_warn("Attribute of type %#x found multiple times in message, " in libbpf_nla_parse() 185 pr_warn("Failed to parse extended error attributes\n"); in libbpf_nla_dump_errormsg() 192 pr_warn("Kernel error message: %s\n", errmsg); in libbpf_nla_dump_errormsg()
|
H A D | btf_dump.c | 497 pr_warn("unsatisfiable type cycle, id:[%u]\n", id); in btf_dump_order_type() 712 pr_warn("anonymous struct/union loop, id:[%u]\n", in btf_dump_emit_type() 1307 pr_warn("not enough memory for decl stack:%d", err); in btf_dump_emit_type_decl() 1338 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_decl() 1587 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_chain() 1761 pr_warn("unexpected bitfield size %d\n", t->size); in btf_dump_get_bitfield_value() 1840 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero() 1872 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_int_data() 1946 pr_warn("unexpected sz %d for id [%u]\n", sz, type_id); in btf_dump_int_data() 1984 pr_warn("unexpecte in btf_dump_float_data() [all...] |
H A D | libbpf_internal.h | 200 #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) macro 332 pr_warn("%s size (%zu) is too small\n", type_name, user_sz); in libbpf_validate_opts() 336 pr_warn("%s has non-zero extra bytes\n", type_name); in libbpf_validate_opts() 623 pr_warn("failed to dup FD %d to FD > 2: %d\n", old_fd, -saved_errno); in ensure_good_fd()
|
H A D | btf.c | 237 pr_warn("Can't load BTF with non-native endianness due to unsupported header length %u\n", in btf_parse_hdr() 432 pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); in btf_parse_type_sec() 448 pr_warn("BTF types data is malformed\n"); in btf_parse_type_sec() 461 pr_warn("btf: type [%u]: invalid %s (string offset %u)\n", type_id, what, str_off); in btf_validate_str() 474 pr_warn("btf: type [%u]: invalid referenced type ID %u\n", ctx_id, id); in btf_validate_id() 560 pr_warn("btf: type [%u]: referenced type [%u] is not FUNC_PROTO\n", id, t->type); in btf_validate_type() 589 pr_warn("btf: type [%u]: unrecognized kind %u\n", id, kind); in btf_validate_type() 872 pr_warn("unsupported BTF_KIND:%u\n", btf_kind(t)); in btf__align_of() 1125 pr_warn("failed to init libelf for %s\n", path); 1133 pr_warn("faile [all...] |
H A D | gen_loader.c | 181 pr_warn("Total maps exceeds %d\n", MAX_USED_MAPS); in add_map_fd() 375 pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", in bpf_gen__finish() 688 pr_warn("BTF fd off %d for kfunc %s exceeds INT16_MAX, cannot process relocation\n", in emit_relo_kfunc_btf()
|
H A D | netlink.c | 68 pr_warn("Netlink error reporting not supported\n"); in libbpf_netlink_open()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 102 #define pr_warn pr_warning macro
|