| /tools/lib/bpf/ |
| A D | usdt.c | 330 pr_warn("usdt: unsupported ELF class for '%s'\n", path); in sanity_check_usdt_elf() 351 pr_warn("usdt: ELF endianness mismatch for '%s'\n", path); in sanity_check_usdt_elf() 479 pr_warn("usdt: failed to open '%s' to get base addr of '%s': %s\n", in parse_vma_segs() 1223 pr_warn("usdt: unsupported arg #%d (spec '%s') size: %d\n", in parse_usdt_spec() 1280 pr_warn("usdt: unrecognized register '%s'\n", reg_name); in calc_pt_regs_off() 1321 pr_warn("usdt: unrecognized arg #%d spec '%s'\n", arg_num, arg_str); in parse_usdt_arg() 1343 pr_warn("usdt: unrecognized register '%%r%u'\n", reg); in parse_usdt_arg() 1352 pr_warn("usdt: unrecognized register '%%r%u'\n", reg); in parse_usdt_arg() 1381 pr_warn("usdt: unrecognized register '%s'\n", reg_name); in calc_pt_regs_off() 1475 pr_warn("usdt: unrecognized register '%s'\n", reg_name); in calc_pt_regs_off() [all …]
|
| A D | libbpf.c | 1553 pr_warn("elf: init internal error\n"); in bpf_object__elf_init() 2296 pr_warn("failed to open system Kconfig\n"); in bpf_object__read_kconfig_file() 2879 pr_warn("map #%d: empty name.\n", var_idx); in bpf_object__init_user_btf_map() 4205 pr_warn("cannot create a dummy_ksym var\n"); in add_dummy_ksym_var() 8000 pr_warn("failed to init libelf for %s\n", in bpf_object_open() 8792 pr_warn("invalid map pointer\n"); in bpf_map__pin() 8856 pr_warn("invalid map pointer\n"); in bpf_map__unpin() 8868 pr_warn("no path to unpin map '%s' from\n", in bpf_map__unpin() 10047 pr_warn("vmlinux BTF is not found\n"); in libbpf_find_vmlinux_btf_id() 10502 pr_warn("error: unsupported map type\n"); in bpf_map__set_inner_map_fd() [all …]
|
| A D | linker.c | 254 pr_warn("failed to create '%s': %d\n", filename, err); in bpf_linker__new() 787 pr_warn("failed to parse .BTF from %s: %s\n", in linker_load_obj_file() 798 pr_warn("failed to parse .BTF.ext from '%s': %s\n", in linker_load_obj_file() 815 pr_warn("unrecognized section #%zu (%s) in %s\n", in linker_load_obj_file() 964 pr_warn("ELF sym #%d is invalid extern symbol in %s\n", in linker_sanity_check_elf_symtab() 1218 pr_warn("sec %s types mismatch\n", dst->sec_name); in secs_match() 1222 pr_warn("sec %s flags mismatch\n", dst->sec_name); in secs_match() 1226 pr_warn("sec %s entsize mismatch\n", dst->sec_name); in secs_match() 1671 pr_warn("global '%s': unsupported BTF kind %s\n", in glob_sym_btf_matches() 2556 pr_warn("global '%s': section mismatch %d vs %d\n", in linker_append_btf() [all …]
|
| A D | elf.c | 34 pr_warn("elf: failed to init libelf for %s\n", binary_path); in elf_open() 40 pr_warn("elf: failed to open %s: %s\n", binary_path, errstr(ret)); in elf_open() 45 pr_warn("elf: could not read elf from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_open() 108 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_sym_iter_new() 125 pr_warn("elf: failed to get symbols for symtab section in '%s': %s\n", in elf_sym_iter_new() 148 pr_warn("elf: failed to get verdef ELF section in '%s'\n", binary_path); in elf_sym_iter_new() 287 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_find_func_offset() 337 pr_warn("elf: ambiguous match for '%s', '%s' in '%s'\n", in elf_find_func_offset() 361 pr_warn("elf: '%s' is 0 in symtab for '%s': %s\n", name, binary_path, in elf_find_func_offset() 366 pr_warn("elf: failed to find symbol '%s' in '%s'\n", name, binary_path); in elf_find_func_offset() [all …]
|
| A D | ringbuf.c | 92 pr_warn("ringbuf: failed to get map info for fd=%d: %s\n", in ring_buffer__add() 98 pr_warn("ringbuf: map fd=%d is not BPF_MAP_TYPE_RINGBUF\n", in ring_buffer__add() 127 pr_warn("ringbuf: failed to mmap consumer page for map fd=%d: %s\n", in ring_buffer__add() 140 pr_warn("ringbuf: ring buffer size (%u) is too big\n", info.max_entries); in ring_buffer__add() 146 pr_warn("ringbuf: failed to mmap data pages for map fd=%d: %s\n", in ring_buffer__add() 160 pr_warn("ringbuf: failed to epoll add map fd=%d: %s\n", in ring_buffer__add() 209 pr_warn("ringbuf: failed to create epoll instance: %s\n", errstr(err)); in ring_buffer__new() 462 pr_warn("user ringbuf: failed to get map info for fd=%d: %s\n", in user_ringbuf_map() 479 pr_warn("user ringbuf: failed to mmap consumer page for map fd=%d: %s\n", in user_ringbuf_map() 492 pr_warn("user ringbuf: ring buf size (%u) is too big\n", info.max_entries); in user_ringbuf_map() [all …]
|
| A 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()
|
| A 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() 727 pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", in bpf_core_calc_field_relo() 749 pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", in bpf_core_calc_field_relo() 1091 pr_warn("prog '%s': relo #%d: insn #%d (LDX/ST/STX) value too big: %llu\n", in bpf_core_patch_insn() 1137 pr_warn("prog '%s': relo #%d: insn #%d (LDIMM64) has unexpected form\n", in bpf_core_patch_insn() 1325 pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", in bpf_core_calc_relo_insn() 1358 pr_warn("prog '%s': relo #%d: error matching candidate #%d %s: %d\n", in bpf_core_calc_relo_insn() 1381 pr_warn("prog '%s': relo #%d: field offset ambiguity: %u != %u\n", in bpf_core_calc_relo_insn() [all …]
|
| A 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\n", in btf_relocate_rewrite_strs()
|
| A D | btf_dump.c | 502 pr_warn("unsatisfiable type cycle, id:[%u]\n", id); in btf_dump_order_type() 717 pr_warn("anonymous struct/union loop, id:[%u]\n", in btf_dump_emit_type() 1343 pr_warn("unexpected type in decl chain, kind:%u, id:[%u]\n", in btf_dump_emit_type_decl() 1771 pr_warn("unexpected bitfield size %d\n", t->size); in btf_dump_get_bitfield_value() 1850 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero() 1882 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_int_data() 1957 pr_warn("unexpected sz %d for id [%u]\n", sz, type_id); in btf_dump_int_data() 1995 pr_warn("unexpected size %d for id [%u]\n", sz, type_id); in btf_dump_float_data() 2097 pr_warn("unexpected elem size %zd for array type [%u]\n", in btf_dump_array_data() 2340 pr_warn("unexpected size [%zu] for id [%u]\n", in btf_dump_type_data_check_overflow() [all …]
|
| A D | libbpf_internal.h | 171 #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) macro 306 pr_warn("%s size (%zu) is too small\n", type_name, user_sz); in libbpf_validate_opts() 310 pr_warn("%s has non-zero extra bytes\n", type_name); in libbpf_validate_opts() 658 pr_warn("failed to dup FD %d to FD > 2: %d\n", old_fd, -saved_errno); in ensure_good_fd()
|
| A D | btf.c | 452 pr_warn("BTF types data is malformed\n"); in btf_parse_type_sec() 876 pr_warn("unsupported BTF_KIND:%u\n", btf_kind(t)); in btf__align_of() 1130 pr_warn("failed to get EHDR from %s\n", path); in btf_find_elf_sections() 1141 pr_warn("failed to get e_shstrndx from %s\n", path); in btf_find_elf_sections() 1152 pr_warn("failed to get section(%d) header from %s\n", in btf_find_elf_sections() 1158 pr_warn("failed to get section(%d) name from %s\n", in btf_find_elf_sections() 1203 pr_warn("failed to init libelf for %s\n", path); in btf_parse_elf() 1210 pr_warn("failed to open %s: %s\n", path, errstr(err)); in btf_parse_elf() 1217 pr_warn("failed to open %s as ELF file\n", path); in btf_parse_elf() 1508 pr_warn("BTF loading error: %s\n", errstr(err)); in btf_load_into_kernel() [all …]
|
| A D | features.c | 69 pr_warn("Error in %s(): %s. Couldn't create simple array map.\n", in probe_kern_global_data() 285 pr_warn("Error in %s(): %s. Couldn't create simple array map.\n", in probe_prog_bind_map() 603 pr_warn("Detection of kernel %s support failed: %s\n", in feat_supported()
|
| A D | gen_loader.c | 182 pr_warn("Total maps exceeds %d\n", MAX_USED_MAPS); in add_map_fd() 376 pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", in bpf_gen__finish() 443 default: pr_warn("unsupported bswap size!\n"); \ 722 pr_warn("BTF fd off %d for kfunc %s exceeds INT16_MAX, cannot process relocation\n", in emit_relo_kfunc_btf()
|
| A D | netlink.c | 68 pr_warn("Netlink error reporting not supported\n"); in libbpf_netlink_open()
|
| /tools/testing/selftests/ |
| A 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/ |
| A 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/ |
| A D | printk.h | 23 #define pr_warn printk macro
|
| /tools/testing/selftests/net/bench/page_pool/ |
| A D | bench_page_pool_simple.c | 148 pr_warn("%s: Error(%d) creating page_pool\n", func, err); in time_bench_page_pool() 154 pr_warn("%s(): in_serving_softirq fast-path\n", func); in time_bench_page_pool() 156 pr_warn("%s(): Cannot use page_pool fast-path\n", func); in time_bench_page_pool()
|
| A D | time_bench.c | 235 pr_warn("WARNING: Invoke count(%llu) smaller than loops(%d)\n", in time_bench_loop() 338 pr_warn("%s() Started on CPU:%d\n", __func__, in time_bench_run_concurrent() 392 pr_warn("%s() Finished on CPU:%d\n", __func__, in time_bench_run_concurrent()
|
| /tools/lib/api/ |
| A D | debug-internal.h | 17 #define pr_warn(fmt, ...) __pr(__pr_warn, fmt, ##__VA_ARGS__) macro
|
| /tools/testing/selftests/bpf/ |
| A D | xsk.c | 52 #define pr_warn(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) macro
|
| /tools/testing/nvdimm/test/ |
| A D | ndtest.c | 314 pr_warn("Failed to get resource\n"); in ndtest_resource_lookup()
|