Searched refs:readn (Results 1 – 11 of 11) sorted by relevance
/tools/lib/perf/include/internal/ |
D | lib.h | 9 ssize_t readn(int fd, void *buf, size_t n);
|
/tools/lib/perf/ |
D | lib.c | 36 ssize_t readn(int fd, void *buf, size_t n) in readn() function
|
D | evsel.c | 321 if (readn(*fd, count->values, size) <= 0) in perf_evsel__read()
|
/tools/perf/util/ |
D | symbol-minimal.c | 308 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()
|
D | header.c | 193 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 …]
|
D | data.c | 389 return readn(data->file.fd, buf, size); in perf_data__read()
|
D | auxtrace.c | 268 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()
|
D | session.c | 1722 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()
|
D | evsel.c | 1566 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()
|
D | symbol-elf.c | 2028 if (readn(to, buf_to, len) != (int)len) in kcore_copy__compare_fds()
|
/tools/perf/ |
D | builtin-daemon.c | 821 if (sizeof(cmd) != readn(fd, &cmd, sizeof(cmd))) { in handle_server_socket()
|