Lines Matching refs:p_err
300 p_err("btf dump failed: %d", err); in show_prog_metadata()
325 p_err("jsonw alloc failed"); in show_prog_metadata()
338 p_err("btf dump failed: %d", err); in show_prog_metadata()
511 p_err("can't get prog info: %s", strerror(errno)); in show_prog()
531 p_err("mem alloc failed"); in do_show_subset()
582 p_err("can't get next program: %s%s", strerror(errno), in do_show()
592 p_err("can't get prog by id (%u): %s", in do_show()
636 p_err("error retrieving insn dump: kernel.kptr_restrict set?"); in prog_dump()
644 p_err("failed to get btf"); in prog_dump()
659 p_err("can't open file %s: %s", filepath, in prog_dump()
667 p_err("error writing output file: %s", in prog_dump()
801 p_err("expected 'xlated' or 'jited', got: %s", *argv); in do_dump()
811 p_err("mem alloc failed"); in do_dump()
821 p_err("expected file path"); in do_dump()
825 p_err("several programs matched"); in do_dump()
836 p_err("several programs matched"); in do_dump()
868 p_err("can't get prog info: %s", strerror(errno)); in do_dump()
940 p_err("invalid attach/detach type"); in parse_attach_detach_args()
973 p_err("failed prog attach to map"); in do_attach()
995 p_err("failed prog detach from map"); in do_detach()
1008 p_err("cannot use standard input for both data_in and ctx_in"); in check_single_stdin()
1034 p_err("failed to open %s: %s", fname, strerror(errno)); in get_run_data()
1040 p_err("failed to allocate memory for data_in/ctx_in: %s", in get_run_data()
1049 p_err("failed to read data_in/ctx_in from %s: %s", in get_run_data()
1055 p_err("data_in/ctx_in is too long (max: %d)", in get_run_data()
1063 p_err("failed to reallocate data_in/ctx_in: %s", in get_run_data()
1137 p_err("failed to open %s: %s", fname, strerror(errno)); in print_run_output()
1144 p_err("failed to write output data/ctx: %s", strerror(errno)); in print_run_output()
1155 p_err("failed to allocate memory for output data/ctx: %s", in alloc_run_data()
1212 p_err("can't parse %s as output data size", in do_run()
1240 p_err("can't parse %s as output context size", in do_run()
1254 p_err("can't parse %s as repeat number", in do_run()
1260 …p_err("expected no more arguments, 'data_in', 'data_out', 'data_size_out', 'ctx_in', 'ctx_out', 'c… in do_run()
1299 p_err("failed to run program: %s", strerror(errno)); in do_run()
1394 p_err("program type already specified"); in load_with_options()
1403 p_err("mem alloc failed"); in load_with_options()
1432 p_err("can't parse %s as IDX", *argv); in load_with_options()
1442 p_err("expected 'idx' or 'name', got: '%s'?", in load_with_options()
1456 p_err("mem alloc failed"); in load_with_options()
1469 p_err("offload device already specified"); in load_with_options()
1477 p_err("unrecognized netdevice '%s': %s", in load_with_options()
1490 p_err("expected no more arguments, 'type', 'map' or 'dev', got: '%s'?", in load_with_options()
1500 p_err("failed to open object file"); in load_with_options()
1538 p_err("unable to find map '%s'", map_replace[j].name); in load_with_options()
1558 p_err("unable to set up map reuse: %d", err); in load_with_options()
1564 p_err("replacement for map idx %d specified more than once", in load_with_options()
1573 p_err("map idx '%d' not used", map_replace[j].idx); in load_with_options()
1584 p_err("failed to load object file"); in load_with_options()
1595 p_err("object file doesn't contain any bpf program"); in load_with_options()
1601 p_err("failed to pin program %s", in load_with_options()
1608 p_err("failed to pin all programs"); in load_with_options()
1616 p_err("failed to pin all maps"); in load_with_options()
1659 p_err("bpftool prog profile command is not supported. Please build bpftool with clang >= 10.0.0"); in do_profile()
1746 p_err("unknown metric %s", argv[0]); in profile_parse_metrics()
1752 p_err("too many (%d) metrics, please specify no more than %d metrics at at time", in profile_parse_metrics()
1770 p_err("failed to get fd for map"); in profile_read_values()
1776 p_err("failed to read count_map: %s", strerror(errno)); in profile_read_values()
1792 p_err("failed to read reading_map: %s", in profile_read_values()
1875 p_err("failed to get info_linear for prog FD %d", tgt_fd); in profile_target_name()
1881 p_err("prog FD %d doesn't have valid btf", tgt_fd); in profile_target_name()
1888 p_err("btf %d doesn't have type %d", in profile_target_name()
1923 p_err("failed to allocate memory for perf_event array: %s", in profile_open_perf_events()
1929 p_err("failed to get fd for events map"); in profile_open_perf_events()
1943 p_err("failed to create event %s on cpu %d", in profile_open_perf_events()
1984 p_err("failed to parse fd"); in do_profile()
2005 p_err("failed to identify number of CPUs"); in do_profile()
2011 p_err("failed to open and/or load BPF object"); in do_profile()
2033 p_err("failed to set attach target\n"); in do_profile()
2041 p_err("failed to load profile_obj"); in do_profile()
2051 p_err("failed to attach profile_obj"); in do_profile()