Home
last modified time | relevance | path

Searched refs:mmap2 (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/tools/perf/util/
Djitdump.c435 filename = event->mmap2.filename; in jit_repipe_code_load()
467 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_load()
468 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_load()
469 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_load()
470 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_load()
472 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_load()
473 event->mmap2.start = addr; in jit_repipe_code_load()
474 event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize; in jit_repipe_code_load()
475 event->mmap2.pid = pid; in jit_repipe_code_load()
476 event->mmap2.tid = tid; in jit_repipe_code_load()
[all …]
Devent.c293 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
294 event->mmap2.len, event->mmap2.pgoff, event->mmap2.maj, in perf_event__fprintf_mmap2()
295 event->mmap2.min, event->mmap2.ino, in perf_event__fprintf_mmap2()
296 event->mmap2.ino_generation, in perf_event__fprintf_mmap2()
297 (event->mmap2.prot & PROT_READ) ? 'r' : '-', in perf_event__fprintf_mmap2()
298 (event->mmap2.prot & PROT_WRITE) ? 'w' : '-', in perf_event__fprintf_mmap2()
299 (event->mmap2.prot & PROT_EXEC) ? 'x' : '-', in perf_event__fprintf_mmap2()
300 (event->mmap2.flags & MAP_SHARED) ? 's' : 'p', in perf_event__fprintf_mmap2()
301 event->mmap2.filename); in perf_event__fprintf_mmap2()
Dsynthetic-events.c390 event->mmap2.filename[0] = '\0'; in perf_event__synthesize_mmap_events()
394 &event->mmap2.start, in perf_event__synthesize_mmap_events()
395 &event->mmap2.len, in perf_event__synthesize_mmap_events()
396 &event->mmap2.prot, in perf_event__synthesize_mmap_events()
397 &event->mmap2.flags, in perf_event__synthesize_mmap_events()
398 &event->mmap2.pgoff, in perf_event__synthesize_mmap_events()
399 &event->mmap2.maj, in perf_event__synthesize_mmap_events()
400 &event->mmap2.min, in perf_event__synthesize_mmap_events()
401 &event->mmap2.ino, in perf_event__synthesize_mmap_events()
402 sizeof(event->mmap2.filename), in perf_event__synthesize_mmap_events()
[all …]
Dsession.c467 if (tool->mmap2 == NULL) in perf_tool__fill_defaults()
468 tool->mmap2 = process_event_stub; in perf_tool__fill_defaults()
590 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__mmap2_swap()
591 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap()
592 event->mmap2.start = bswap_64(event->mmap2.start); in perf_event__mmap2_swap()
593 event->mmap2.len = bswap_64(event->mmap2.len); in perf_event__mmap2_swap()
594 event->mmap2.pgoff = bswap_64(event->mmap2.pgoff); in perf_event__mmap2_swap()
595 event->mmap2.maj = bswap_32(event->mmap2.maj); in perf_event__mmap2_swap()
596 event->mmap2.min = bswap_32(event->mmap2.min); in perf_event__mmap2_swap()
597 event->mmap2.ino = bswap_64(event->mmap2.ino); in perf_event__mmap2_swap()
[all …]
Ddata-convert-bt.c929 __FUNC_PROCESS_NON_SAMPLE(mmap2,
930 __NON_SAMPLE_SET_FIELD(mmap2, u32, pid);
931 __NON_SAMPLE_SET_FIELD(mmap2, u32, tid);
932 __NON_SAMPLE_SET_FIELD(mmap2, u64_hex, start);
933 __NON_SAMPLE_SET_FIELD(mmap2, string, filename);
1281 __FUNC_ADD_NON_SAMPLE_EVENT_CLASS(mmap2,
1608 .mmap2 = perf_event__process_mmap2, in bt_convert__perf2ctf()
1628 c.tool.mmap2 = process_mmap2_event; in bt_convert__perf2ctf()
Dtool.h46 mmap2, member
Dmachine.c1726 .maj = event->mmap2.maj, in machine__process_mmap2_event()
1727 .min = event->mmap2.min, in machine__process_mmap2_event()
1728 .ino = event->mmap2.ino, in machine__process_mmap2_event()
1729 .ino_generation = event->mmap2.ino_generation, in machine__process_mmap2_event()
1744 thread = machine__findnew_thread(machine, event->mmap2.pid, in machine__process_mmap2_event()
1745 event->mmap2.tid); in machine__process_mmap2_event()
1749 map = map__new(machine, event->mmap2.start, in machine__process_mmap2_event()
1750 event->mmap2.len, event->mmap2.pgoff, in machine__process_mmap2_event()
1751 &dso_id, event->mmap2.prot, in machine__process_mmap2_event()
1752 event->mmap2.flags, in machine__process_mmap2_event()
[all …]
Devsel.c1184 attr->mmap2 = track && !perf_missing_features.mmap2; in evsel__config()
1762 if (perf_missing_features.mmap2) in evsel__open_cpu()
1763 evsel->core.attr.mmap2 = 0; in evsel__open_cpu()
1929 } else if (!perf_missing_features.mmap2 && evsel->core.attr.mmap2) { in evsel__open_cpu()
1930 perf_missing_features.mmap2 = true; in evsel__open_cpu()
Dperf_event_attr_fprintf.c127 PRINT_ATTRf(mmap2, p_unsigned); in perf_event_attr__fprintf()
/kernel/linux/linux-5.10/tools/perf/bench/
Dinject-buildid.c181 memset(&event, 0, min(len, sizeof(event.mmap2))); in synthesize_mmap()
187 event.mmap2.pid = data->pid; in synthesize_mmap()
188 event.mmap2.tid = data->pid; in synthesize_mmap()
189 event.mmap2.maj = MMAP_DEV_MAJOR; in synthesize_mmap()
190 event.mmap2.ino = dso->ino; in synthesize_mmap()
192 strcpy(event.mmap2.filename, dso->name); in synthesize_mmap()
194 event.mmap2.start = dso_map_addr(dso); in synthesize_mmap()
195 event.mmap2.len = 4096; in synthesize_mmap()
196 event.mmap2.prot = PROT_EXEC; in synthesize_mmap()
198 if (len > sizeof(event.mmap2)) { in synthesize_mmap()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-inject.c417 event->mmap2.filename, event->mmap2.pid, &n); in perf_event__jit_repipe_mmap2()
434 .maj = event->mmap2.maj, in perf_event__repipe_buildid_mmap2()
435 .min = event->mmap2.min, in perf_event__repipe_buildid_mmap2()
436 .ino = event->mmap2.ino, in perf_event__repipe_buildid_mmap2()
437 .ino_generation = event->mmap2.ino_generation, in perf_event__repipe_buildid_mmap2()
441 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2()
442 event->mmap2.filename, &dso_id, machine); in perf_event__repipe_buildid_mmap2()
447 event->mmap2.flags); in perf_event__repipe_buildid_mmap2()
713 inject->tool.mmap2 = perf_event__repipe_mmap2; in __cmd_inject()
722 inject->tool.mmap2 = perf_event__repipe_buildid_mmap2; in __cmd_inject()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Dsys_microblaze.c46 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/kernel/linux/linux-5.10/arch/csky/kernel/
Dsyscall.c17 SYSCALL_DEFINE6(mmap2, in SYSCALL_DEFINE6() argument
/kernel/linux/linux-5.10/tools/perf/tests/attr/
Dsystem-wide-dummy38 mmap2=1
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dsys_riscv.c33 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsys_s390.c49 SYSCALL_DEFINE1(mmap2, struct s390_mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dsys_nds32.c12 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsyscalls.c60 SYSCALL_DEFINE6(mmap2, unsigned long, addr, size_t, len, in SYSCALL_DEFINE6() argument
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc_32.c101 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/kernel/linux/linux-5.10/tools/perf/tests/
Dattr.c128 WRITE_ASS(mmap2, "d"); in store_event()
Dperf-record.c255 mmap_filename = event->mmap2.filename; in test__PERF_RECORD()
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/
Devent.h383 struct perf_record_mmap2 mmap2; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dperf_event.h376 mmap2 : 1, /* include mmap with inode data */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dperf_event.h221 mmap2 : 1, member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dperf_event.h206 …lude_guest : 1, exclude_callchain_kernel : 1, exclude_callchain_user : 1, mmap2 : 1, comm_exec : 1… member

123