Home
last modified time | relevance | path

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

/tools/perf/util/
Dsession.c1721 u64 head, size_t mmap_size, char *buf) in fetch_mmaped_event() argument
1729 if (head + sizeof(event->header) > mmap_size) in fetch_mmaped_event()
1737 if (head + event->header.size > mmap_size) { in fetch_mmaped_event()
1768 size_t mmap_size; in __perf_session__process_events() local
1788 mmap_size = MMAP_SIZE; in __perf_session__process_events()
1789 if (mmap_size > file_size) { in __perf_session__process_events()
1790 mmap_size = file_size; in __perf_session__process_events()
1804 buf = mmap(NULL, mmap_size, mmap_prot, mmap_flags, fd, in __perf_session__process_events()
1820 event = fetch_mmaped_event(session, head, mmap_size, buf); in __perf_session__process_events()
1823 munmap(mmaps[map_idx], mmap_size); in __perf_session__process_events()
Dauxtrace.h175 size_t mmap_size; member
Dauxtrace.c798 buffer->mmap_size = size; in auxtrace_buffer__get_data()
809 munmap(buffer->mmap_addr, buffer->mmap_size); in auxtrace_buffer__put_data()
811 buffer->mmap_size = 0; in auxtrace_buffer__put_data()