Lines Matching refs:p_err
40 void p_err(const char *fmt, ...) in p_err() function
190 p_err("can't mount tracefs: %s", err_str); in mount_tracefs()
204 p_err("mem alloc failed"); in open_obj_pinned()
211 p_err("bpf obj get (%s): %s", pname, in open_obj_pinned()
239 p_err("incorrect object type: %s", get_fd_type_name(type)); in open_obj_pinned_any()
264 p_err("mem alloc failed"); in create_and_mount_bpffs_dir()
277 p_err("can't create dir '%s' to pin BPF object: parent dir '%s' doesn't exist", in create_and_mount_bpffs_dir()
287 p_err("no BPF file system found, not mounting it due to --nomount option"); in create_and_mount_bpffs_dir()
294 p_err("failed to create dir '%s': %s", dir_name, strerror(errno)); in create_and_mount_bpffs_dir()
302 p_err("can't mount BPF file system on given dir '%s': %s", in create_and_mount_bpffs_dir()
320 p_err("can't pin BPF object: path '%s' already exists", file_name); in mount_bpffs_for_file()
326 p_err("mem alloc failed"); in mount_bpffs_for_file()
337 p_err("can't pin BPF object: dir '%s' doesn't exist", dir); in mount_bpffs_for_file()
343 p_err("no BPF file system found, not mounting it due to --nomount option"); in mount_bpffs_for_file()
351 p_err("can't mount BPF file system to pin the object '%s': %s", in mount_bpffs_for_file()
370 p_err("can't pin the object (%s): %s", name, strerror(errno)); in do_pin_fd()
461 p_err("can't read link type: %s", strerror(errno)); in get_fd_type()
465 p_err("can't read link type: path too long!"); in get_fd_type()
577 p_err("failed to append entry to hashmap for ID %u, path '%s': %s", in do_build_table_cb()
646 p_err("Can't get # of possible cpus: %s", strerror(-cpus)); in get_possible_cpus()
660 p_err("Can't stat /proc/self: %s", strerror(errno)); in ifindex_to_name_ns()
678 p_err("Can't open %s: %s", path, strerror(errno)); in read_sysfs_hex_int()
685 p_err("Can't read %s: %s", path, strerror(errno)); in read_sysfs_hex_int()
689 p_err("Value in %s too long", path); in read_sysfs_hex_int()
716 p_err("Can't get net device name for ifindex %d: %s", ifindex, in ifindex_to_arch()
723 p_err("Can't get device vendor id for %s", devname); in ifindex_to_arch()
740 p_err("Can't get arch name for device vendor id 0x%04x", in ifindex_to_arch()
785 p_err("%s already specified", what); in parse_u32_arg()
791 p_err("can't parse %s as %s", **argv, what); in parse_u32_arg()
821 p_err("%s", strerror(errno)); in prog_fd_by_nametag()
829 p_err("can't get prog by id (%u): %s", in prog_fd_by_nametag()
836 p_err("can't get prog info (%u): %s", in prog_fd_by_nametag()
858 p_err("failed to realloc"); in prog_fd_by_nametag()
884 p_err("can't parse %s as ID", **argv); in prog_parse_fds()
891 p_err("get by id (%u): %s", id, strerror(errno)); in prog_parse_fds()
903 p_err("can't parse tag"); in prog_parse_fds()
916 p_err("can't parse name"); in prog_parse_fds()
936 p_err("expected 'id', 'tag', 'name' or 'pinned', got: '%s'?", **argv); in prog_parse_fds()
947 p_err("mem alloc failed"); in prog_parse_fd()
953 p_err("several programs match this handle"); in prog_parse_fd()
981 p_err("%s", strerror(errno)); in map_fd_by_name()
989 p_err("can't get map by id (%u): %s", in map_fd_by_name()
996 p_err("can't get map info (%u): %s", in map_fd_by_name()
1009 p_err("failed to realloc"); in map_fd_by_name()
1035 p_err("can't parse %s as ID", **argv); in map_parse_fds()
1042 p_err("get map by id (%u): %s", id, strerror(errno)); in map_parse_fds()
1053 p_err("can't parse name"); in map_parse_fds()
1073 p_err("expected 'id', 'name' or 'pinned', got: '%s'?", **argv); in map_parse_fds()
1084 p_err("mem alloc failed"); in map_parse_fd()
1090 p_err("several maps match this handle"); in map_parse_fd()
1116 p_err("can't get map info: %s", strerror(errno)); in map_parse_fd_and_info()