Lines Matching refs:p_err
362 p_err("btf dump failed: %d", err); in show_prog_metadata()
387 p_err("jsonw alloc failed"); in show_prog_metadata()
400 p_err("btf dump failed: %d", err); in show_prog_metadata()
589 p_err("can't get prog info: %s", strerror(errno)); in show_prog()
609 p_err("mem alloc failed"); in do_show_subset()
645 p_err("failed to create hashmap for pinned paths"); in do_show()
667 p_err("can't get next program: %s%s", strerror(errno), in do_show()
677 p_err("can't get prog by id (%u): %s", in do_show()
724 p_err("error retrieving insn dump: kernel.kptr_restrict set?"); in prog_dump()
734 p_err("failed to get btf"); in prog_dump()
750 p_err("can't open file %s: %s", filepath, in prog_dump()
758 p_err("error writing output file: %s", in prog_dump()
895 p_err("expected 'xlated' or 'jited', got: %s", *argv); in do_dump()
905 p_err("mem alloc failed"); in do_dump()
916 p_err("expected file path"); in do_dump()
920 p_err("several programs matched"); in do_dump()
931 p_err("several programs matched"); in do_dump()
947 p_err("'file' is not compatible with 'opcodes', 'visual', or 'linum'"); in do_dump()
951 p_err("'visual' is not compatible with JSON output"); in do_dump()
962 p_err("can't get prog info: %s", strerror(errno)); in do_dump()
968 p_err("can't grow prog info_data"); in do_dump()
974 p_err("can't get prog info: %s", strerror(errno)); in do_dump()
1045 p_err("invalid attach/detach type"); in parse_attach_detach_args()
1078 p_err("failed prog attach to map"); in do_attach()
1100 p_err("failed prog detach from map"); in do_detach()
1113 p_err("cannot use standard input for both data_in and ctx_in"); in check_single_stdin()
1139 p_err("failed to open %s: %s", fname, strerror(errno)); in get_run_data()
1145 p_err("failed to allocate memory for data_in/ctx_in: %s", in get_run_data()
1154 p_err("failed to read data_in/ctx_in from %s: %s", in get_run_data()
1160 p_err("data_in/ctx_in is too long (max: %d)", in get_run_data()
1168 p_err("failed to reallocate data_in/ctx_in: %s", in get_run_data()
1242 p_err("failed to open %s: %s", fname, strerror(errno)); in print_run_output()
1249 p_err("failed to write output data/ctx: %s", strerror(errno)); in print_run_output()
1260 p_err("failed to allocate memory for output data/ctx: %s", in alloc_run_data()
1317 p_err("can't parse %s as output data size", in do_run()
1345 p_err("can't parse %s as output context size", in do_run()
1359 p_err("can't parse %s as repeat number", in do_run()
1365 …p_err("expected no more arguments, 'data_in', 'data_out', 'data_size_out', 'ctx_in', 'ctx_out', 'c… in do_run()
1403 p_err("failed to run program: %s", strerror(errno)); in do_run()
1545 p_err("program type already specified"); in load_with_options()
1558 p_err("mem alloc failed"); in load_with_options()
1588 p_err("can't parse %s as IDX", *argv); in load_with_options()
1598 p_err("expected 'idx' or 'name', got: '%s'?", in load_with_options()
1612 p_err("mem alloc failed"); in load_with_options()
1631 p_err("offload_dev already specified"); in load_with_options()
1634 p_err("xdpmeta_dev and offload_dev are mutually exclusive"); in load_with_options()
1642 p_err("unrecognized netdevice '%s': %s", in load_with_options()
1651 p_err("xdpmeta_dev already specified"); in load_with_options()
1654 p_err("xdpmeta_dev and offload_dev are mutually exclusive"); in load_with_options()
1662 p_err("unrecognized netdevice '%s': %s", in load_with_options()
1678 p_err("expected no more arguments, 'type', 'map' or 'dev', got: '%s'?", in load_with_options()
1692 p_err("failed to open object file"); in load_with_options()
1736 p_err("unable to find map '%s'", map_replace[j].name); in load_with_options()
1756 p_err("unable to set up map reuse: %d", err); in load_with_options()
1762 p_err("replacement for map idx %d specified more than once", in load_with_options()
1771 p_err("map idx '%d' not used", map_replace[j].idx); in load_with_options()
1777 p_err("failed to load object file"); in load_with_options()
1791 p_err("object file doesn't contain any bpf program"); in load_with_options()
1800 p_err("failed to pin program %s", in load_with_options()
1810 p_err("failed to pin all programs"); in load_with_options()
1822 p_err("failed to pin all maps"); in load_with_options()
1924 p_err("failed to open object file"); in do_loader()
1934 p_err("failed to load object file"); in do_loader()
1967 p_err("bpftool prog profile command is not supported. Please build bpftool with clang >= 10.0.0"); in do_profile()
2082 p_err("unknown metric %s", argv[0]); in profile_parse_metrics()
2088 p_err("too many (%d) metrics, please specify no more than %d metrics at a time", in profile_parse_metrics()
2106 p_err("failed to get fd for map"); in profile_read_values()
2112 p_err("failed to read count_map: %s", strerror(errno)); in profile_read_values()
2128 p_err("failed to read reading_map: %s", in profile_read_values()
2213 p_err("failed to get info for prog FD %d", tgt_fd); in profile_target_name()
2218 p_err("prog FD %d doesn't have valid btf", tgt_fd); in profile_target_name()
2224 p_err("found 0 func_info for prog FD %d", tgt_fd); in profile_target_name()
2235 p_err("failed to get func_info for prog FD %d", tgt_fd); in profile_target_name()
2241 p_err("failed to load btf for prog FD %d", tgt_fd); in profile_target_name()
2247 p_err("btf %d doesn't have type %d", in profile_target_name()
2310 p_err("failed to allocate memory for perf_event array: %s", in profile_open_perf_events()
2316 p_err("failed to get fd for events map"); in profile_open_perf_events()
2325 p_err("failed to create event %s on cpu %d", in profile_open_perf_events()
2365 p_err("failed to parse fd"); in do_profile()
2386 p_err("failed to identify number of CPUs"); in do_profile()
2392 p_err("failed to open and/or load BPF object"); in do_profile()
2414 p_err("failed to set attach target\n"); in do_profile()
2422 p_err("failed to load profile_obj"); in do_profile()
2432 p_err("failed to attach profile_obj"); in do_profile()