/linux-master/kernel/events/ |
H A D | core.c | 5029 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 D | sys_sparc_32.c | 100 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 D | session.c | 489 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 D | machine.c | 1785 .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 D | evsel.h | 178 bool mmap2; member in struct:perf_missing_features
|
H A D | evsel.c | 1257 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 D | event.c | 330 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 D | data-convert-json.c | 324 .mmap2 = perf_event__process_mmap2,
|
H A D | synthetic-events.c | 461 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 D | perf_event_attr_fprintf.c | 297 PRINT_ATTRf(mmap2, p_unsigned);
|
H A D | jitdump.c | 458 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 D | build-id.c | 94 .mmap2 = perf_event__process_mmap2,
|
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 4127 trace->tool.mmap2 = perf_event__process_mmap2;
|
H A D | builtin-script.c | 2641 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 D | builtin-report.c | 823 rep->tool.mmap2 = perf_event__process_mmap2; 1280 .mmap2 = perf_event__process_mmap2,
|
H A D | builtin-record.c | 3352 .mmap2 = build_id__process_mmap2, 4035 pr_debug("Enabling build id in mmap2 events.\n");
|
H A D | builtin-c2c.c | 391 .mmap2 = perf_event__process_mmap2,
|
H A D | builtin-mem.c | 455 .mmap2 = perf_event__process_mmap2,
|
H A D | builtin-inject.c | 491 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 D | builtin-annotate.c | 729 .mmap2 = perf_event__process_mmap2,
|
H A D | builtin-kwork.c | 2327 .mmap2 = perf_event__process_mmap2,
|
/linux-master/tools/perf/tests/ |
H A D | attr.c | 129 WRITE_ASS(mmap2, "d");
|
/linux-master/tools/include/uapi/linux/ |
H A D | perf_event.h | 448 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 D | sys_riscv.c | 34 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 D | perf_event.h | 448 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.
|