Lines Matching refs:needs_swap
1765 if (session->one_mmap && !session->header.needs_swap) { in perf_session__peek_event()
1786 if (session->header.needs_swap) in perf_session__peek_event()
1798 if (session->header.needs_swap) in perf_session__peek_event()
1848 if (session->header.needs_swap) in perf_session__process_event()
2062 if (session->header.needs_swap) in __perf_session__process_pipe_events()
2136 bool needs_swap, union perf_event *error) in prefetch_event() argument
2149 if (needs_swap) in prefetch_event()
2157 if (needs_swap) in prefetch_event()
2174 fetch_mmaped_event(u64 head, size_t mmap_size, char *buf, bool needs_swap) in fetch_mmaped_event() argument
2176 return prefetch_event(buf, head, mmap_size, needs_swap, ERR_PTR(-EINVAL)); in fetch_mmaped_event()
2180 fetch_decomp_event(u64 head, size_t mmap_size, char *buf, bool needs_swap) in fetch_decomp_event() argument
2182 return prefetch_event(buf, head, mmap_size, needs_swap, NULL); in fetch_decomp_event()
2196 session->header.needs_swap); in __perf_session__process_decomp_events()
2303 } else if (session->header.needs_swap) { in reader__mmap()
2349 session->header.needs_swap); in reader__read_event()