Home
last modified time | relevance | path

Searched refs:readn (Results 1 – 11 of 11) sorted by relevance

/tools/lib/perf/include/internal/
Dlib.h9 ssize_t readn(int fd, void *buf, size_t n);
/tools/lib/perf/
Dlib.c36 ssize_t readn(int fd, void *buf, size_t n) in readn() function
Devsel.c321 if (readn(*fd, count->values, size) <= 0) in perf_evsel__read()
/tools/perf/util/
Dsymbol-minimal.c308 if (readn(fd, e_ident, sizeof(e_ident)) != sizeof(e_ident)) in fd__is_64_bit()
330 if (readn(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr)) in dso__type_fd()
Dheader.c193 ssize_t ret = readn(ff->fd, addr, size); in __do_read_fd()
2240 if (readn(input, &old_bev, sizeof(old_bev)) != sizeof(old_bev)) in perf_header__read_build_ids_abi_quirk()
2247 if (readn(input, filename, len) != len) in perf_header__read_build_ids_abi_quirk()
2282 if (readn(input, &bev, sizeof(bev)) != sizeof(bev)) in perf_header__read_build_ids()
2289 if (readn(input, filename, len) != len) in perf_header__read_build_ids()
3600 if (readn(fd, buf, size) <= 0) in perf_header__getbuffer64()
3772 ret = readn(fd, header, sizeof(*header)); in perf_file_header__read()
3919 ret = readn(fd, attr, PERF_ATTR_SIZE_VER0); in read_attr()
3946 ret = readn(fd, ptr, left); in read_attr()
3949 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr()
[all …]
Ddata.c389 return readn(data->file.fd, buf, size); in perf_data__read()
Dauxtrace.c268 ret = readn(fd, p, size); in auxtrace_copy_data()
915 if (readn(fd, &ent, sizeof(ent)) != sizeof(ent)) in auxtrace_index__process_entry()
943 if (readn(fd, &nr, sizeof(u64)) != sizeof(u64)) in auxtrace_index__process()
Dsession.c1722 readn(fd, buf, hdr_sz) != (ssize_t)hdr_sz) in perf_session__peek_event()
1736 if (readn(fd, buf, rest) != (ssize_t)rest) in perf_session__peek_event()
Devsel.c1566 if (readn(FD(leader, cpu, thread), data, size) <= 0) in evsel__read_group()
1593 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
Dsymbol-elf.c2028 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
/tools/perf/
Dbuiltin-daemon.c821 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()