Home
last modified time | relevance | path

Searched refs:buf_sz (Results 1 – 3 of 3) sorted by relevance

/tools/perf/util/
Dllvm-utils.c100 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local
114 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()
117 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()
118 new_buf = realloc(buf, buf_sz); in read_from_pipe()
131 if (buf_sz - read_sz < 1) { in read_from_pipe()
Dsession.h54 void *buf, size_t buf_sz,
Dsession.c1223 void *buf, size_t buf_sz, in perf_session__peek_event() argument
1243 if (buf_sz < hdr_sz) in perf_session__peek_event()
1255 if (event->header.size < hdr_sz || event->header.size > buf_sz) in perf_session__peek_event()