Home
last modified time | relevance | path

Searched refs:mmap_len (Results 1 – 8 of 8) sorted by relevance

/tools/perf/arch/x86/tests/
Dintel-cqm.c46 size_t mmap_len; in test__intel_cqm_count_nmi_context() local
106 mmap_len = page_size * 65; in test__intel_cqm_count_nmi_context()
108 event = mmap(NULL, mmap_len, PROT_READ, MAP_SHARED, fd[0], 0); in test__intel_cqm_count_nmi_context()
118 munmap(event, mmap_len); in test__intel_cqm_count_nmi_context()
/tools/perf/lib/include/internal/
Devlist.h22 size_t mmap_len; member
/tools/perf/util/
Dmmap.c194 size_t mmap_len; in perf_mmap__aio_bind() local
199 mmap_len = perf_mmap__mmap_len(map); in perf_mmap__aio_bind()
201 if (mbind(data, mmap_len, MPOL_BIND, &node_mask, 1, 0)) { in perf_mmap__aio_bind()
203 data, data + mmap_len, cpu__get_node(cpu)); in perf_mmap__aio_bind()
Dsession.h49 size_t mmap_len; member
Dsession.c45 size_t mmap_len, decomp_len = session->header.env.comp_mmap_len; in perf_session__process_compressed_event() local
53 mmap_len = sizeof(struct decomp) + decomp_len; in perf_session__process_compressed_event()
54 decomp = mmap(NULL, mmap_len, PROT_READ|PROT_WRITE, in perf_session__process_compressed_event()
62 decomp->mmap_len = mmap_len; in perf_session__process_compressed_event()
76 munmap(decomp, mmap_len); in perf_session__process_compressed_event()
276 size_t mmap_len; in perf_session__release_decomp_events() local
283 mmap_len = decomp->mmap_len; in perf_session__release_decomp_events()
284 munmap(decomp, mmap_len); in perf_session__release_decomp_events()
Devlist.c912 evlist->core.mmap_len = evlist__mmap_size(pages); in evlist__mmap_ex()
913 pr_debug("mmap size %zuB\n", evlist->core.mmap_len); in evlist__mmap_ex()
914 mp.mask = evlist->core.mmap_len - page_size - 1; in evlist__mmap_ex()
916 auxtrace_mmap_params__init(&mp.auxtrace_mp, evlist->core.mmap_len, in evlist__mmap_ex()
1481 int pages_attempted = evlist->core.mmap_len / 1024, pages_max_per_user, printed = 0; in perf_evlist__strerror_mmap()
/tools/perf/Documentation/
Dperf.data-file-format.txt370 u32 mmap_len;
/tools/perf/
Dbuiltin-record.c1415 session->header.env.comp_mmap_len = session->evlist->core.mmap_len; in __cmd_record()