Searched refs:mmap2 (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/arch/csky/kernel/
H A Dsyscall.c17 SYSCALL_DEFINE6(mmap2,
/linux-master/tools/perf/util/
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 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 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 Dtool.h47 mmap2, member in struct:perf_tool
H A Ddata-convert-bt.c935 __FUNC_PROCESS_NON_SAMPLE(mmap2,
936 __NON_SAMPLE_SET_FIELD(mmap2, u32, pid);
937 __NON_SAMPLE_SET_FIELD(mmap2, u32, tid);
938 __NON_SAMPLE_SET_FIELD(mmap2, u64_hex, start);
939 __NON_SAMPLE_SET_FIELD(mmap2, string, filename);
1287 __FUNC_ADD_NON_SAMPLE_EVENT_CLASS(mmap2,
1614 .mmap2 = perf_event__process_mmap2,
1634 c.tool.mmap2 = process_mmap2_event;
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.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 Dperf_event_attr_fprintf.c297 PRINT_ATTRf(mmap2, p_unsigned);
H A Ddata-convert-json.c324 .mmap2 = perf_event__process_mmap2,
H A Devsel.h178 bool mmap2; member in struct:perf_missing_features
/linux-master/tools/perf/bench/
H A Dinject-buildid.c182 memset(&event, 0, min(len, sizeof(event.mmap2)));
188 event.mmap2.pid = data->pid;
189 event.mmap2.tid = data->pid;
190 event.mmap2.maj = MMAP_DEV_MAJOR;
191 event.mmap2.ino = dso->ino;
193 strcpy(event.mmap2.filename, dso->name);
195 event.mmap2.start = dso_map_addr(dso);
196 event.mmap2.len = 4096;
197 event.mmap2.prot = PROT_EXEC;
199 if (len > sizeof(event.mmap2)) {
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsyscalls.c52 SYSCALL_DEFINE6(mmap2, unsigned long, addr, size_t, len,
60 COMPAT_SYSCALL_DEFINE6(mmap2,
/linux-master/arch/microblaze/kernel/
H A Dsys_microblaze.c46 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
/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/tools/perf/
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-mem.c455 .mmap2 = perf_event__process_mmap2,
/linux-master/arch/sparc/kernel/
H A Dsys_sparc_32.c101 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
105 /* Make sure the shift for mmap2 is constant (12), no matter what PAGE_SIZE
/linux-master/arch/s390/kernel/
H A Dsyscall.c56 SYSCALL_DEFINE1(mmap2, struct s390_mmap_arg_struct __user *, arg)
/linux-master/tools/perf/tests/
H A Dattr.c129 WRITE_ASS(mmap2, "d");
H A Dperf-record.c255 mmap_filename = event->mmap2.filename;
/linux-master/tools/lib/perf/include/perf/
H A Devent.h481 struct perf_record_mmap2 mmap2; member in union:perf_event
/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.
/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.

Completed in 257 milliseconds

12