Home
last modified time | relevance | path

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

/Linux-v5.4/tools/bpf/bpftool/
Dcommon.c32 void p_err(const char *fmt, ...) in p_err() function
120 p_err("can't mount tracefs: %s", err_str); in mount_tracefs()
133 p_err("bpf obj get (%s): %s", path, in open_obj_pinned()
158 p_err("incorrect object type: %s", get_fd_type_name(type)); in open_obj_pinned_any()
182 p_err("no BPF file system found, not mounting it due to --nomount option"); in mount_bpffs_for_pin()
190 p_err("can't mount BPF file system to pin the object (%s): %s", in mount_bpffs_for_pin()
209 p_err("can't pin the object (%s): %s", name, strerror(errno)); in do_pin_fd()
222 p_err("too few arguments, id ID and FILE path is required"); in do_pin_any()
225 p_err("too many arguments"); in do_pin_any()
230 p_err("expected 'id' got %s", *argv); in do_pin_any()
[all …]
Dcgroup.c177 p_err("duplicated argument: %s", *argv); in do_show()
183 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show()
191 p_err("can't open cgroup %s", path); in do_show()
239 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn()
247 p_err("can't query bpf programs attached to %s: %s", in do_show_tree_fn()
322 p_err("cgroup v2 isn't mounted"); in do_show_tree()
332 p_err("duplicated argument: %s", *argv); in do_show_tree()
338 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show_tree()
355 p_err("can't iterate over %s: %s", cgroup_root, in do_show_tree()
383 p_err("too few parameters for cgroup attach"); in do_attach()
[all …]
Dprog.c92 p_err("%s", strerror(errno)); in prog_fd_by_tag()
98 p_err("can't get prog by id (%u): %s", in prog_fd_by_tag()
105 p_err("can't get prog info (%u): %s", in prog_fd_by_tag()
130 p_err("can't parse %s as ID", **argv); in prog_parse_fd()
137 p_err("get by id (%u): %s", id, strerror(errno)); in prog_parse_fd()
147 p_err("can't parse tag"); in prog_parse_fd()
164 p_err("expected 'id', 'tag' or 'pinned', got: '%s'?", **argv); in prog_parse_fd()
340 p_err("can't get prog info: %s", strerror(errno)); in show_prog()
383 p_err("can't get next program: %s%s", strerror(errno), in do_show()
393 p_err("can't get prog by id (%u): %s", in do_show()
[all …]
Dmap.c106 p_err("can't parse %s as ID", **argv); in map_parse_fd()
113 p_err("get map by id (%u): %s", id, strerror(errno)); in map_parse_fd()
126 p_err("expected 'id' or 'pinned', got: '%s'?", **argv); in map_parse_fd()
141 p_err("can't get map info: %s", strerror(errno)); in map_parse_fd_and_info()
344 p_err("error parsing byte: %s", argv[i]); in parse_bytes()
351 p_err("%s expected %d bytes got %d", name, n, i); in parse_bytes()
379 p_err("did not find %s", key ? "key" : "value"); in parse_elem()
386 p_err("duplicate key"); in parse_elem()
388 p_err("unnecessary key"); in parse_elem()
403 p_err("duplicate value"); in parse_elem()
[all …]
Dmain.c142 p_err("%s", msg); in detect_common_prefix()
185 p_err("too many arguments to command %d", cmd_nb); in make_args()
197 p_err("unterminated quoted string in command %d", in make_args()
246 p_err("too few parameters for batch"); in do_batch()
249 p_err("expected 'file', got: %s", *argv); in do_batch()
252 p_err("too many parameters for batch"); in do_batch()
262 p_err("Can't open file (%s): %s", *argv, strerror(errno)); in do_batch()
284 p_err("missing continuation line on command %d", in do_batch()
295 p_err("command %d is too long", lines); in do_batch()
331 p_err("reading batch file failed: %s", strerror(errno)); in do_batch()
[all …]
Dbtf.c453 p_err("can't get prog info: %s", strerror(errno)); in do_dump()
463 p_err("can't parse %s as ID", *argv); in do_dump()
472 p_err("failed to load BTF from %s: %s", in do_dump()
479 p_err("unrecognized BTF source specifier: '%s'", src); in do_dump()
487 p_err("expecting value for 'format' option\n"); in do_dump()
495 p_err("unrecognized format specifier: '%s', possible values: raw, c", in do_dump()
501 p_err("unrecognized option: '%s'", *argv); in do_dump()
509 p_err("get btf by id (%u): %s", btf_id, strerror(err)); in do_dump()
514 p_err("can't find btf with ID (%u)", btf_id); in do_dump()
521 p_err("JSON output for C-syntax dump is not supported"); in do_dump()
[all …]
Dmap_perf_ring.c144 p_err("map is not a perf event array"); in do_event_pipe()
160 p_err("can't parse %s as CPU ID", *argv); in do_event_pipe()
171 p_err("can't parse %s as index", *argv); in do_event_pipe()
186 p_err("cpu and index must be specified together"); in do_event_pipe()
204 p_err("failed to create perf buffer: %s (%d)", in do_event_pipe()
219 p_err("perf buffer polling failed: %s (%d)", in do_event_pipe()
Dnet.c229 p_err("can't open /proc/self/ns/net: %s", in query_flow_dissector()
245 p_err("can't query prog: %s", strerror(errno)); in query_flow_dissector()
264 p_err("invalid devname %s", **argv); in net_parse_dev()
268 p_err("expected 'dev', got: '%s'?", **argv); in net_parse_dev()
304 p_err("invalid net attach/detach type: %s", *argv); in do_attach()
323 p_err("expected 'overwrite', got: '%s'?", *argv); in do_attach()
335 p_err("interface %s attach failed: %s", in do_attach()
357 p_err("invalid net attach/detach type: %s", *argv); in do_detach()
372 p_err("interface %s detach failed: %s", in do_detach()
Dfeature.c588 p_err("please run this command as root user"); in do_probe()
597 p_err("component to probe already specified"); in do_probe()
606 p_err("component to probe already specified"); in do_probe()
616 p_err("unrecognized netdevice '%s': %s", ifname, in do_probe()
625 p_err("'prefix' argument can only be use after 'macros'"); in do_probe()
629 p_err("'prefix' already defined"); in do_probe()
638 p_err("expected no more arguments, 'kernel', 'dev', 'macros' or 'prefix', got: '%s'?", in do_probe()
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()
Dmain.h23 #define BAD_ARG() ({ p_err("what is '%s'?", *argv); -1; })
31 p_err("'%s' needs at least %d arguments, %d found", \
101 void __printf(1, 2) p_err(const char *fmt, ...);
185 p_err("No libbfd support"); in disasm_init()
Dperf.c34 p_err("perf_query_support: cannot open directory \"/\" (%s)", in has_perf_query_support()
53 p_err("perf_query_support: %s", strerror(errno)); in has_perf_query_support()
222 p_err("%s", strerror(errno)); in do_show()
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()
Djit_disasm.c114 p_err("No libbfd support for %s", arch); in disasm_print_insn()