Home
last modified time | relevance | path

Searched refs:pr_warn (Results 1 – 17 of 17) sorted by relevance

/tools/lib/bpf/
Dlibbpf.c129 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg()
545 pr_warn("Internal error: instances.nr is %d\n", in bpf_program__unload()
616 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog()
655 pr_warn("sec '%s': failed to allocate memory for prog '%s'\n", sec_name, name); in bpf_object__init_prog()
690 pr_warn("sec '%s': failed to get symbol name for offset %zu\n", in bpf_object__add_programs()
696 pr_warn("sec '%s': program at offset %zu crosses section boundary\n", in bpf_object__add_programs()
702 pr_warn("sec '%s': program '%s' is static and not supported\n", sec_name, name); in bpf_object__add_programs()
716 pr_warn("sec '%s': failed to alloc memory for new program '%s'\n", in bpf_object__add_programs()
803 pr_warn("struct_ops init_kern: struct %s is not found in kernel BTF\n", in find_struct_ops_kern_types()
817 pr_warn("struct_ops init_kern: struct %s%s is not found in kernel BTF\n", in find_struct_ops_kern_types()
[all …]
Dlinker.c309 pr_warn("failed to create '%s': %d\n", file, err); in init_output_elf()
564 pr_warn("failed to open file '%s': %d\n", filename, err); in linker_load_obj_file()
647 pr_warn("multiple SYMTAB sections found, not supported\n"); in linker_load_obj_file()
660 pr_warn("failed to parse .BTF from %s: %d\n", filename, err); in linker_load_obj_file()
670 pr_warn("failed to parse .BTF.ext from '%s': %d\n", filename, err); in linker_load_obj_file()
686 pr_warn("unrecognized section #%zu (%s) in %s\n", in linker_load_obj_file()
712 pr_warn("ELF is missing SYMTAB section in %s\n", obj->filename); in linker_sanity_check_elf()
716 pr_warn("ELF is missing section headers STRTAB section in %s\n", obj->filename); in linker_sanity_check_elf()
724 pr_warn("ELF section #%zu has empty name in %s\n", sec->sec_idx, obj->filename); in linker_sanity_check_elf()
760 pr_warn("ELF section #%zu (%s) has unrecognized type %zu in %s\n", in linker_sanity_check_elf()
[all …]
Dringbuf.c71 pr_warn("ringbuf: failed to get map info for fd=%d: %d\n", in ring_buffer__add()
77 pr_warn("ringbuf: map fd=%d is not BPF_MAP_TYPE_RINGBUF\n", in ring_buffer__add()
104 pr_warn("ringbuf: failed to mmap consumer page for map fd=%d: %d\n", in ring_buffer__add()
116 pr_warn("ringbuf: ring buffer size (%u) is too big\n", info.max_entries); in ring_buffer__add()
123 pr_warn("ringbuf: failed to mmap data pages for map fd=%d: %d\n", in ring_buffer__add()
138 pr_warn("ringbuf: failed to epoll add map fd=%d: %d\n", in ring_buffer__add()
183 pr_warn("ringbuf: failed to create epoll instance: %d\n", err); in ring_buffer__new()
Drelo_core.c275 pr_warn("relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", in bpf_core_parse_spec()
349 pr_warn("unexpected kind %d relocated, local [%d], target [%d]\n", in bpf_core_fields_are_compat()
601 pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", in bpf_core_calc_field_relo()
623 pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", in bpf_core_calc_field_relo()
852 pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", in bpf_core_calc_relo()
948 pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %u -> %u\n", in bpf_core_patch_insn()
963 pr_warn("prog '%s': relo #%d: unexpected insn #%d (LDX/ST/STX) value: got %u, exp %u -> %u\n", in bpf_core_patch_insn()
968 pr_warn("prog '%s': relo #%d: insn #%d (LDX/ST/STX) value too big: %u\n", in bpf_core_patch_insn()
973 pr_warn("prog '%s': relo #%d: insn #%d (LDX/ST/STX) accesses field incorrectly. " in bpf_core_patch_insn()
989 pr_warn("prog '%s': relo #%d: insn #%d (LDX/ST/STX) unexpected mem size: got %d, exp %u\n", in bpf_core_patch_insn()
[all …]
Dnlattr.c125 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()
Dbtf_dump.c489 pr_warn("unsatisfiable type cycle, id:[%u]\n", id); in btf_dump_order_type()
701 pr_warn("anonymous struct/union loop, id:[%u]\n", in btf_dump_emit_type()
1214 pr_warn("not enough memory for decl stack:%d", err); in btf_dump_emit_type_decl()
1243 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_decl()
1486 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_chain()
1662 pr_warn("unexpected bitfield size %d\n", sz); in btf_dump_get_bitfield_value()
1741 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero()
1766 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_int_data()
1838 pr_warn("unexpected sz %d for id [%u]\n", sz, type_id); in btf_dump_int_data()
1876 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_float_data()
[all …]
Dbtf.c228 pr_warn("Can't load BTF with non-native endianness due to unsupported header length %u\n", in btf_parse_hdr()
406 pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); in btf_parse_type_sec()
422 pr_warn("BTF types data is malformed\n"); in btf_parse_type_sec()
668 pr_warn("unsupported BTF_KIND:%u\n", btf_kind(t)); in btf__align_of()
881 pr_warn("failed to init libelf for %s\n", path); in btf_parse_elf()
888 pr_warn("failed to open %s: %s\n", path, strerror(errno)); in btf_parse_elf()
896 pr_warn("failed to open %s as ELF file\n", path); in btf_parse_elf()
900 pr_warn("failed to get EHDR from %s\n", path); in btf_parse_elf()
905 pr_warn("failed to get section names section index for %s\n", in btf_parse_elf()
911 pr_warn("failed to get e_shstrndx from %s\n", path); in btf_parse_elf()
[all …]
Dlibbpf_internal.h115 #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) macro
215 pr_warn("%s size (%zu) is too small\n", type_name, user_sz); in libbpf_validate_opts()
219 pr_warn("%s has non-zero extra bytes\n", type_name); in libbpf_validate_opts()
Dxsk.c503 pr_warn("BPF log buffer:\n%s", log_buf); in xsk_load_xdp_prog()
521 pr_warn("getting XDP prog id failed\n"); in xsk_create_bpf_link()
529 pr_warn("Netlink-based XDP prog detected, please unload it in order to launch AF_XDP prog\n"); in xsk_create_bpf_link()
537 pr_warn("bpf_link_create failed: %s\n", strerror(errno)); in xsk_create_bpf_link()
691 pr_warn("can't get next link: %s\n", strerror(errno)); in xsk_link_lookup()
699 pr_warn("can't get link by id (%u): %s\n", id, strerror(errno)); in xsk_link_lookup()
708 pr_warn("can't get link info: %s\n", strerror(errno)); in xsk_link_lookup()
Dnetlink.c52 pr_warn("Netlink error reporting not supported\n"); in libbpf_netlink_open()
/tools/testing/selftests/
Dkselftest_module.h20 pr_warn("TC failed at %s:%d\n", __func__, __LINE__); \
35 pr_warn("failed %u out of %u tests\n", failed_tests, total_tests); in kstm_report()
/tools/bootconfig/include/linux/
Dprintk.h10 #define pr_warn printk macro
/tools/testing/selftests/powerpc/tm/
Dtm-unavailable.c40 #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/lib/api/
Ddebug-internal.h17 #define pr_warn(fmt, ...) __pr(__pr_warn, fmt, ##__VA_ARGS__) macro
/tools/include/linux/
Dlockdep.h53 #define pr_warn pr_err macro
/tools/lib/api/fs/
Dfs.c403 pr_warn("read failed %d: %s\n", errno, in filename__read_str()
/tools/testing/nvdimm/test/
Dndtest.c425 pr_warn("Failed to get resource\n"); in ndtest_resource_lookup()