| /tools/lib/bpf/ |
| 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("usdt: failed to open '%s' to get base addr of '%s': %d\n", in parse_vma_segs() [all …]
|
| D | linker.c | 308 pr_warn("failed to create '%s': %d\n", file, err); in init_output_elf() 565 pr_warn("failed to open file '%s': %d\n", filename, err); in linker_load_obj_file() 642 pr_warn("multiple SYMTAB sections found, not supported\n"); in linker_load_obj_file() 655 pr_warn("failed to parse .BTF from %s: %d\n", filename, err); in linker_load_obj_file() 665 pr_warn("failed to parse .BTF.ext from '%s': %d\n", filename, err); in linker_load_obj_file() 681 pr_warn("unrecognized section #%zu (%s) in %s\n", in linker_load_obj_file() 702 pr_warn("ELF is missing SYMTAB section in %s\n", obj->filename); in linker_sanity_check_elf() 706 pr_warn("ELF is missing section headers STRTAB section in %s\n", obj->filename); in linker_sanity_check_elf() 714 pr_warn("ELF section #%zu has empty name in %s\n", sec->sec_idx, obj->filename); in linker_sanity_check_elf() 722 pr_warn("ELF section #%zu alignment %llu is non pow-of-2 alignment in %s\n", in linker_sanity_check_elf() [all …]
|
| D | libbpf.c | 316 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg() 803 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog() 853 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog() 887 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs() 893 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs() 899 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs() 913 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs() 1002 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", in find_struct_ops_kern_types() 1016 pr_warn("struct_ops init_kern: struct %s%s is not found in kernel BTF\n", in find_struct_ops_kern_types() 1034 pr_warn("struct_ops init_kern: struct %s data is not found in struct %s%s\n", in find_struct_ops_kern_types() [all …]
|
| D | elf.c | 35 pr_warn("elf: failed to init libelf for %s\n", binary_path); in elf_open() 41 pr_warn("elf: failed to open %s: %s\n", binary_path, in elf_open() 47 pr_warn("elf: could not read elf from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_open() 110 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_sym_iter_new() 127 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new() 150 pr_warn("elf: failed to get verdef ELF section in '%s'\n", binary_path); in elf_sym_iter_new() 289 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_find_func_offset() 339 pr_warn("elf: ambiguous match for '%s', '%s' in '%s'\n", in elf_find_func_offset() 363 pr_warn("elf: '%s' is 0 in symtab for '%s': %s\n", name, binary_path, in elf_find_func_offset() 368 pr_warn("elf: failed to find symbol '%s' in '%s'\n", name, binary_path); in elf_find_func_offset() [all …]
|
| 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() 461 pr_warn("user ringbuf: failed to get map info for fd=%d: %d\n", map_fd, err); in user_ringbuf_map() 466 pr_warn("user ringbuf: map fd=%d is not BPF_MAP_TYPE_USER_RINGBUF\n", map_fd); in user_ringbuf_map() 477 pr_warn("user ringbuf: failed to mmap consumer page for map fd=%d: %d\n", in user_ringbuf_map() [all …]
|
| D | nlattr.c | 125 pr_warn("Attribute of type %#x found multiple times in message, " in libbpf_nla_parse() 184 pr_warn("Failed to parse extended error attributes\n"); in libbpf_nla_dump_errormsg() 191 pr_warn("Kernel error message: %s\n", errmsg); in libbpf_nla_dump_errormsg()
|
| D | relo_core.c | 50 #undef pr_warn 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("prog '%s': relo #%d: insn #%d (LDX/ST/STX) value too big: %llu\n", in bpf_core_patch_insn() [all …]
|
| D | btf_relocate.c | 283 pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", in btf_relocate_map_distilled_base() 352 …pr_warn("distilled base BTF type '%s' [%u], size %u has multiple candidates of the same size (ids … in btf_relocate_map_distilled_base() 371 pr_warn("distilled base BTF type '%s' [%d] is not mapped to base BTF id\n", in btf_relocate_map_distilled_base() 400 pr_warn("type [%d], kind [%d] is invalid for distilled base BTF; it is anonymous\n", in btf_relocate_validate_distilled_base() 404 pr_warn("type [%d] in distilled based BTF has unexpected kind [%d]\n", in btf_relocate_validate_distilled_base() 431 pr_warn("string '%s' [offset %u] is not mapped to base BTF", in btf_relocate_rewrite_strs()
|
| D | btf_dump.c | 500 pr_warn("unsatisfiable type cycle, id:[%u]\n", id); in btf_dump_order_type() 715 pr_warn("anonymous struct/union loop, id:[%u]\n", in btf_dump_emit_type() 1310 pr_warn("not enough memory for decl stack:%d", err); in btf_dump_emit_type_decl() 1341 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_decl() 1592 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_chain() 1766 pr_warn("unexpected bitfield size %d\n", t->size); in btf_dump_get_bitfield_value() 1845 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero() 1877 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_int_data() 1952 pr_warn("unexpected sz %d for id [%u]\n", sz, type_id); in btf_dump_int_data() 1990 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_float_data() [all …]
|
| D | libbpf_internal.h | 170 #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) macro 305 pr_warn("%s size (%zu) is too small\n", type_name, user_sz); in libbpf_validate_opts() 309 pr_warn("%s has non-zero extra bytes\n", type_name); in libbpf_validate_opts() 618 pr_warn("failed to dup FD %d to FD > 2: %d\n", old_fd, -saved_errno); in ensure_good_fd()
|
| D | btf.c | 236 pr_warn("Can't load BTF with non-native endianness due to unsupported header length %u\n", in btf_parse_hdr() 431 pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); in btf_parse_type_sec() 447 pr_warn("BTF types data is malformed\n"); in btf_parse_type_sec() 460 pr_warn("btf: type [%u]: invalid %s (string offset %u)\n", type_id, what, str_off); in btf_validate_str() 473 pr_warn("btf: type [%u]: invalid referenced type ID %u\n", ctx_id, id); in btf_validate_id() 559 pr_warn("btf: type [%u]: referenced type [%u] is not FUNC_PROTO\n", id, t->type); in btf_validate_type() 588 pr_warn("btf: type [%u]: unrecognized kind %u\n", id, kind); in btf_validate_type() 871 pr_warn("unsupported BTF_KIND:%u\n", btf_kind(t)); in btf__align_of() 1108 pr_warn("failed to get EHDR from %s\n", path); in btf_find_elf_sections() 1113 pr_warn("failed to get section names section index for %s\n", in btf_find_elf_sections() [all …]
|
| D | features.c | 71 pr_warn("Error in %s():%s(%d). Couldn't create simple array map.\n", in probe_kern_global_data() 289 pr_warn("Error in %s():%s(%d). Couldn't create simple array map.\n", in probe_prog_bind_map() 607 pr_warn("Detection of kernel %s support failed: %d\n", feat->desc, ret); in feat_supported()
|
| 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()
|
| D | netlink.c | 68 pr_warn("Netlink error reporting not supported\n"); in libbpf_netlink_open()
|
| /tools/testing/selftests/ |
| D | kselftest_module.h | 21 pr_warn("TC failed at %s:%d\n", __func__, __LINE__); \ 36 pr_warn("failed %u out of %u tests\n", failed_tests, total_tests); in kstm_report()
|
| /tools/testing/selftests/powerpc/tm/ |
| D | tm-unavailable.c | 40 #define pr_warn(code, format, ...) err_at_line(0, code, format, ##__VA_ARGS__) macro 323 pr_warn(rc, "pthread_setname_np"); in test_fp_vec() 373 pr_warn(rc, "pthread_create()"); in tm_unavailable_test()
|
| /tools/testing/memblock/linux/ |
| D | printk.h | 23 #define pr_warn printk macro
|
| /tools/lib/api/ |
| D | debug-internal.h | 17 #define pr_warn(fmt, ...) __pr(__pr_warn, fmt, ##__VA_ARGS__) macro
|
| /tools/testing/nvdimm/test/ |
| D | ndtest.c | 314 pr_warn("Failed to get resource\n"); in ndtest_resource_lookup()
|
| /tools/testing/selftests/bpf/ |
| D | xsk.c | 52 #define pr_warn(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) macro
|