Home
last modified time | relevance | path

Searched refs:p_err (Results 1 – 19 of 19) sorted by relevance

/linux/tools/bpf/bpftool/
H A Dcommon.c40 void p_err(const char *fmt, ...) in p_err() function
204 p_err("mem alloc failed"); in open_obj_pinned()
264 p_err("mem alloc failed"); in create_and_mount_bpffs_dir()
326 p_err("mem alloc failed"); in mount_bpffs_for_file()
858 p_err("failed to realloc"); in prog_fd_by_nametag()
903 p_err("can't parse tag"); in prog_parse_fds()
916 p_err("can't parse name"); in prog_parse_fds()
947 p_err("mem alloc failed"); in prog_parse_fd()
1009 p_err("failed to realloc"); in map_fd_by_name()
1053 p_err("can't parse name"); in map_parse_fds()
[all …]
H A Dprog.c362 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()
609 p_err("mem alloc failed"); in do_show_subset()
734 p_err("failed to get btf"); in prog_dump()
905 p_err("mem alloc failed"); in do_dump()
916 p_err("expected file path"); in do_dump()
1558 p_err("mem alloc failed"); in load_with_options()
1612 p_err("mem alloc failed"); in load_with_options()
1818 p_err("failed to pin all maps"); in load_with_options()
[all …]
H A Dstruct_ops.c109 p_err("mem alloc failed"); in map_info_alloc()
149 p_err("can't get map by id (%u): %s", in get_next_struct_ops_map()
220 p_err("no struct_ops found for %s", name); in do_search()
247 p_err("invalid id %s", id_str); in do_one_id()
379 p_err("mem alloc failed"); in __do_dump()
428 p_err("can't create json writer"); in do_dump()
454 p_err("can't unload %s %s id %u: %s", in __do_unregister()
519 p_err("can't mount bpffs for pinning"); in do_register()
544 p_err("can't register struct_ops %s: %s", in do_register()
576 p_err("can't pin link %u for %s: %s", in do_register()
[all …]
H A Dcgroup.c304 p_err("duplicated argument: %s", *argv); in do_show()
318 p_err("can't open cgroup %s", path); in do_show()
455 p_err("cgroup v2 isn't mounted"); in do_show_tree()
465 p_err("duplicated argument: %s", *argv); in do_show_tree()
527 p_err("can't open cgroup %s", argv[0]); in do_attach()
533 p_err("invalid attach type"); in do_attach()
549 p_err("unknown option: %s", argv[i]); in do_attach()
555 p_err("failed to attach program"); in do_attach()
585 p_err("can't open cgroup %s", argv[0]); in do_detach()
591 p_err("invalid attach type"); in do_detach()
[all …]
H A Dmap.c354 p_err("duplicate key"); in parse_elem()
356 p_err("unnecessary key"); in parse_elem()
371 p_err("duplicate value"); in parse_elem()
373 p_err("unnecessary value"); in parse_elem()
639 p_err("mem alloc failed"); in do_show_subset()
807 p_err("failed to get btf"); in get_map_kv_btf()
834 p_err("mem alloc failed"); in map_dump()
909 p_err("mem alloc failed"); in do_dump()
970 p_err("key mem alloc failed"); in alloc_key_value()
1137 p_err("mem alloc failed"); in do_getnext()
[all …]
H A Dmain.c247 p_err("%s", msg); in detect_common_prefix()
290 p_err("too many arguments to command %d", cmd_nb); in make_args()
302 p_err("unterminated quoted string in command %d", in make_args()
335 p_err("too few parameters for batch"); in do_batch()
338 p_err("too many parameters for batch"); in do_batch()
341 p_err("expected 'file', got: %s", *argv); in do_batch()
373 p_err("missing continuation line on command %d", in do_batch()
384 p_err("command %d is too long", lines); in do_batch()
491 p_err("failed to create JSON writer"); in main()
514 p_err("failed to parse base BTF at '%s': %d\n", in main()
[all …]
H A Diter.c36 p_err("incorrect map spec"); in do_pin()
54 p_err("can't open objfile %s", objfile); in do_pin()
60 p_err("can't load objfile %s", objfile); in do_pin()
67 p_err("can't find bpf program in objfile %s", objfile); in do_pin()
74 p_err("attach_iter failed for program %s", in do_pin()
85 p_err("pin_iter failed for program %s to path %s", in do_pin()
H A Dpids.c49 p_err("failed to re-alloc memory for ID %u, PID %d, COMM %s...", in add_ref()
65 p_err("failed to alloc memory for ID %u, PID %d, COMM %s...", in add_ref()
73 p_err("failed to alloc memory for ID %u, PID %d, COMM %s...", in add_ref()
86 p_err("failed to append entry to hashmap for ID %u: %s", in add_ref()
107 p_err("failed to create hashmap for PID references"); in build_obj_refs_table()
114 p_err("failed to open PID iterator skeleton"); in build_obj_refs_table()
140 p_err("failed to attach PID iterator: %d", err); in build_obj_refs_table()
147 p_err("failed to create PID iterator session: %d", err); in build_obj_refs_table()
157 p_err("failed to read PID iterator output: %d", err); in build_obj_refs_table()
164 p_err("invalid PID iterator output format"); in build_obj_refs_table()
H A Dbtf.c621 p_err("can't parse %s as ID", *argv); in do_dump()
636 p_err("failed to load BTF from %s: %s", in do_dump()
667 p_err("unrecognized option: '%s'", *argv); in do_dump()
713 p_err("expected 'id', got: '%s'?", **argv); in btf_parse_fd()
720 p_err("can't parse %s as ID", **argv); in btf_parse_fd()
727 p_err("can't get BTF object by id (%u): %s", in btf_parse_fd()
756 p_err("unexpected object type: %d", type); in build_btf_type_table()
779 p_err("unexpected object type: %d", type); in build_btf_type_table()
798 p_err("can't get %s info: %s", names[type], in build_btf_type_table()
812 p_err("unexpected object type: %d", type); in build_btf_type_table()
[all …]
H A Dgen.c701 p_err("failed to load object file"); in gen_trace()
1170 p_err("object name already specified"); in do_skeleton()
1177 p_err("unknown arg %s", *argv); in do_skeleton()
1185 p_err("extra unknown arguments"); in do_skeleton()
1224 p_err("ignoring unrecognized internal map '%s'...", in do_skeleton()
1554 p_err("object name already specified"); in do_subskeleton()
1561 p_err("unknown arg %s", *argv); in do_subskeleton()
1569 p_err("extra unknown arguments"); in do_subskeleton()
1574 p_err("cannot use loader for subskeletons"); in do_subskeleton()
1844 p_err("failed to create BPF linker instance"); in do_object()
[all …]
H A Dmap_perf_ring.c136 p_err("map is not a perf event array"); in do_event_pipe()
152 p_err("can't parse %s as CPU ID", *argv); in do_event_pipe()
163 p_err("can't parse %s as index", *argv); in do_event_pipe()
178 p_err("cpu and index must be specified together"); in do_event_pipe()
192 p_err("failed to create perf buffer: %s (%d)", in do_event_pipe()
207 p_err("perf buffer polling failed: %s (%d)", in do_event_pipe()
H A Djit_disasm.c92 p_err("Failed to retrieve triple"); in init_context()
99 p_err("Failed to create disassembler"); in init_context()
226 p_err("failed to create disassembler (get_exec_path)"); in init_context()
232 p_err("failed to create disassembler (bfd_openr)"); in init_context()
236 p_err("failed to create disassembler (bfd_check_format)"); in init_context()
243 p_err("mem alloc failed"); in init_context()
264 p_err("No libbfd support for %s", arch); in init_context()
287 p_err("failed to create disassembler"); in init_context()
H A Dfeature.c1064 p_err("failed to get capabilities for process: %s", in handle_perms()
1079 p_err("bug: failed to retrieve %s status: %s", cap_name, in handle_perms()
1126 p_err("bug: failed to clear capabilities: %s", strerror(errno)); in handle_perms()
1131 p_err("failed to drop capabilities: %s", strerror(errno)); in handle_perms()
1139 p_err("failed to clear storage object for capabilities: %s", in handle_perms()
1151 p_err("full feature probing requires root privileges"); in handle_perms()
1172 p_err("component to probe already specified"); in do_probe()
1181 p_err("component to probe already specified"); in do_probe()
1191 p_err("unrecognized netdevice '%s': %s", ifname, in do_probe()
1203 p_err("'prefix' argument can only be use after 'macros'"); in do_probe()
[all …]
H A Dnet.c121 p_err("Netlink error reporting not supported"); in netlink_open()
587 p_err("can't open /proc/self/ns/net: %s", in query_flow_dissector()
603 p_err("can't query prog: %s", strerror(errno)); in query_flow_dissector()
622 p_err("invalid devname %s", **argv); in net_parse_dev()
626 p_err("expected 'dev', got: '%s'?", **argv); in net_parse_dev()
662 p_err("invalid net attach/detach type: %s", *argv); in do_attach()
681 p_err("expected 'overwrite', got: '%s'?", *argv); in do_attach()
692 p_err("interface %s attach failed: %s", in do_attach()
715 p_err("invalid net attach/detach type: %s", *argv); in do_detach()
730 p_err("interface %s detach failed: %s", in do_detach()
[all …]
H A Dlink.c103 p_err("can't parse %s as ID", **argv); in link_parse_fd()
247 p_err("can't get prog info: %s", strerror(errno)); in get_prog_info()
274 p_err("mem alloc failed"); in get_addr_cookie_array()
399 p_err("mem alloc failed"); in perf_config_hw_cache_str()
990 p_err("can't get link info: %s", in do_show_link()
1013 p_err("mem alloc failed"); in do_show_link()
1020 p_err("mem alloc failed"); in do_show_link()
1035 p_err("mem alloc failed"); in do_show_link()
1042 p_err("mem alloc failed"); in do_show_link()
1050 p_err("mem alloc failed"); in do_show_link()
[all …]
H A Dtracelog.c49 p_err("tracefs mount point name too long"); in find_tracefs_mnt_single()
141 p_err("could not open trace pipe: %s", strerror(errno)); in do_tracelog()
153 p_err("failed to read content from trace pipe: %s", in do_tracelog()
H A Dmain.h36 #define BAD_ARG() ({ p_err("what is '%s'?", *argv); -1; })
44 p_err("'%s' needs at least %d arguments, %d found", \
88 void __printf(1, 2) p_err(const char *fmt, ...);
197 p_err("No JIT disassembly support"); in disasm_init()
H A Dperf.c36 p_err("perf_query_support: cannot open directory \"/\" (%s)", in has_perf_query_support()
55 p_err("perf_query_support: %s", strerror(errno)); in has_perf_query_support()
H A Dcfg.c77 p_err("OOM when allocating FUNC node"); in cfg_append_func()
103 p_err("OOM when allocating BB node"); in func_append_bb()
120 p_err("OOM when allocating BB node"); in func_insert_dummy_bb()
263 p_err("OOM when allocating edge node"); in new_edge()