Searched refs:mmap2 (Results 1 - 25 of 36) sorted by last modified time

12

/linux-master/kernel/events/
H A Dcore.c5029 if (attr->mmap || attr->mmap_data || attr->mmap2 ||
8176 * enabled by: attr.comm | attr.mmap | attr.mmap2 | attr.mmap_data | attr.task
8197 event->attr.mmap2 || event->attr.mmap_data ||
8646 (executable && (event->attr.mmap || event->attr.mmap2));
8663 if (event->attr.mmap2) {
8684 if (event->attr.mmap2 && use_build_id)
8689 if (event->attr.mmap2) {
/linux-master/arch/sparc/kernel/
H A Dsys_sparc_32.c100 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
104 /* Make sure the shift for mmap2 is constant (12), no matter what PAGE_SIZE
/linux-master/tools/perf/util/
H A Dsession.c489 if (tool->mmap2 == NULL)
490 tool->mmap2 = process_event_stub;
616 event->mmap2.pid = bswap_32(event->mmap2.pid);
617 event->mmap2.tid = bswap_32(event->mmap2.tid);
618 event->mmap2.start = bswap_64(event->mmap2.start);
619 event->mmap2.len = bswap_64(event->mmap2
[all...]
H A Dmachine.c1785 .maj = event->mmap2.maj,
1786 .min = event->mmap2.min,
1787 .ino = event->mmap2.ino,
1788 .ino_generation = event->mmap2.ino_generation,
1798 build_id__init(bid, event->mmap2.build_id, event->mmap2.build_id_size);
1804 .start = event->mmap2.start,
1805 .end = event->mmap2.start + event->mmap2.len,
1806 .pgoff = event->mmap2
[all...]
H A Devsel.h178 bool mmap2; member in struct:perf_missing_features
H A Devsel.c1257 attr->mmap2 = track && !perf_missing_features.mmap2;
1851 if (perf_missing_features.mmap2)
1852 evsel->core.attr.mmap2 = 0;
1952 } else if (!perf_missing_features.mmap2 && evsel->core.attr.mmap2) {
1953 perf_missing_features.mmap2 = true;
1954 pr_debug2_peo("switching off mmap2\n");
H A Devent.c330 build_id__init(&bid, event->mmap2.build_id,
331 event->mmap2.build_id_size);
336 event->mmap2.pid, event->mmap2.tid, event->mmap2.start,
337 event->mmap2.len, event->mmap2.pgoff, sbuild_id,
338 (event->mmap2.prot & PROT_READ) ? 'r' : '-',
339 (event->mmap2.prot & PROT_WRITE) ? 'w' : '-',
340 (event->mmap2
[all...]
H A Ddata-convert-json.c324 .mmap2 = perf_event__process_mmap2,
H A Dsynthetic-events.c461 event->mmap2.filename[0] = '\0';
465 &event->mmap2.start,
466 &event->mmap2.len,
467 &event->mmap2.prot,
468 &event->mmap2.flags,
469 &event->mmap2.pgoff,
470 &event->mmap2.maj,
471 &event->mmap2.min,
472 &event->mmap2.ino,
473 sizeof(event->mmap2
[all...]
H A Dperf_event_attr_fprintf.c297 PRINT_ATTRf(mmap2, p_unsigned);
H A Djitdump.c458 filename = event->mmap2.filename;
490 event->mmap2.header.type = PERF_RECORD_MMAP2;
491 event->mmap2.header.misc = PERF_RECORD_MISC_USER;
492 event->mmap2.header.size = (sizeof(event->mmap2) -
493 (sizeof(event->mmap2.filename) - size) + idr_size);
495 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET;
496 event->mmap2.start = addr;
497 event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize;
498 event->mmap2
[all...]
H A Dbuild-id.c94 .mmap2 = perf_event__process_mmap2,
/linux-master/tools/perf/
H A Dbuiltin-trace.c4127 trace->tool.mmap2 = perf_event__process_mmap2;
H A Dbuiltin-script.c2641 return print_event(tool, event, sample, machine, event->mmap2.pid,
2642 event->mmap2.tid);
2825 script->tool.mmap2 = process_mmap2_event;
3869 .mmap2 = perf_event__process_mmap2,
H A Dbuiltin-report.c823 rep->tool.mmap2 = perf_event__process_mmap2;
1280 .mmap2 = perf_event__process_mmap2,
H A Dbuiltin-record.c3352 .mmap2 = build_id__process_mmap2,
4035 pr_debug("Enabling build id in mmap2 events.\n");
H A Dbuiltin-c2c.c391 .mmap2 = perf_event__process_mmap2,
H A Dbuiltin-mem.c455 .mmap2 = perf_event__process_mmap2,
H A Dbuiltin-inject.c491 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid,
492 event->mmap2.filename, NULL, machine);
517 event->mmap2.filename, event->mmap2.pid, event->mmap2.tid, &n);
534 .maj = event->mmap2.maj,
535 .min = event->mmap2.min,
536 .ino = event->mmap2.ino,
537 .ino_generation = event->mmap2
[all...]
H A Dbuiltin-annotate.c729 .mmap2 = perf_event__process_mmap2,
H A Dbuiltin-kwork.c2327 .mmap2 = perf_event__process_mmap2,
/linux-master/tools/perf/tests/
H A Dattr.c129 WRITE_ASS(mmap2, "d");
/linux-master/tools/include/uapi/linux/
H A Dperf_event.h448 mmap2 : 1, /* include mmap with inode data */ member in struct:perf_event_attr
459 build_id : 1, /* use build id in mmap2 events */
805 * Indicates that mmap2 event carries build id data.
/linux-master/arch/riscv/kernel/
H A Dsys_riscv.c34 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
39 * Note that the shift for mmap2 is constant (12),
/linux-master/include/uapi/linux/
H A Dperf_event.h448 mmap2 : 1, /* include mmap with inode data */ member in struct:perf_event_attr
459 build_id : 1, /* use build id in mmap2 events */
805 * Indicates that mmap2 event carries build id data.

Completed in 985 milliseconds

12