Home
last modified time | relevance | path

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

123

/linux-6.1.9/tools/perf/util/
Djitdump.c456 filename = event->mmap2.filename; in jit_repipe_code_load()
488 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_load()
489 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_load()
490 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_load()
491 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_load()
493 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_load()
494 event->mmap2.start = addr; in jit_repipe_code_load()
495 event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize; in jit_repipe_code_load()
496 event->mmap2.pid = pid; in jit_repipe_code_load()
497 event->mmap2.tid = tid; in jit_repipe_code_load()
[all …]
Devent.c305 build_id__init(&bid, event->mmap2.build_id, in perf_event__fprintf_mmap2()
306 event->mmap2.build_id_size); in perf_event__fprintf_mmap2()
311 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
312 event->mmap2.len, event->mmap2.pgoff, sbuild_id, in perf_event__fprintf_mmap2()
313 (event->mmap2.prot & PROT_READ) ? 'r' : '-', in perf_event__fprintf_mmap2()
314 (event->mmap2.prot & PROT_WRITE) ? 'w' : '-', in perf_event__fprintf_mmap2()
315 (event->mmap2.prot & PROT_EXEC) ? 'x' : '-', in perf_event__fprintf_mmap2()
316 (event->mmap2.flags & MAP_SHARED) ? 's' : 'p', in perf_event__fprintf_mmap2()
317 event->mmap2.filename); in perf_event__fprintf_mmap2()
321 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
[all …]
Dsynthetic-events.c461 event->mmap2.filename[0] = '\0'; in perf_event__synthesize_mmap_events()
465 &event->mmap2.start, in perf_event__synthesize_mmap_events()
466 &event->mmap2.len, in perf_event__synthesize_mmap_events()
467 &event->mmap2.prot, in perf_event__synthesize_mmap_events()
468 &event->mmap2.flags, in perf_event__synthesize_mmap_events()
469 &event->mmap2.pgoff, in perf_event__synthesize_mmap_events()
470 &event->mmap2.maj, in perf_event__synthesize_mmap_events()
471 &event->mmap2.min, in perf_event__synthesize_mmap_events()
472 &event->mmap2.ino, in perf_event__synthesize_mmap_events()
473 sizeof(event->mmap2.filename), in perf_event__synthesize_mmap_events()
[all …]
Dsession.c487 if (tool->mmap2 == NULL) in perf_tool__fill_defaults()
488 tool->mmap2 = process_event_stub; in perf_tool__fill_defaults()
614 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__mmap2_swap()
615 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap()
616 event->mmap2.start = bswap_64(event->mmap2.start); in perf_event__mmap2_swap()
617 event->mmap2.len = bswap_64(event->mmap2.len); in perf_event__mmap2_swap()
618 event->mmap2.pgoff = bswap_64(event->mmap2.pgoff); in perf_event__mmap2_swap()
621 event->mmap2.maj = bswap_32(event->mmap2.maj); in perf_event__mmap2_swap()
622 event->mmap2.min = bswap_32(event->mmap2.min); in perf_event__mmap2_swap()
623 event->mmap2.ino = bswap_64(event->mmap2.ino); in perf_event__mmap2_swap()
[all …]
Dmachine.c1867 .maj = event->mmap2.maj, in machine__process_mmap2_event()
1868 .min = event->mmap2.min, in machine__process_mmap2_event()
1869 .ino = event->mmap2.ino, in machine__process_mmap2_event()
1870 .ino_generation = event->mmap2.ino_generation, in machine__process_mmap2_event()
1880 build_id__init(bid, event->mmap2.build_id, event->mmap2.build_id_size); in machine__process_mmap2_event()
1886 .start = event->mmap2.start, in machine__process_mmap2_event()
1887 .end = event->mmap2.start + event->mmap2.len, in machine__process_mmap2_event()
1888 .pgoff = event->mmap2.pgoff, in machine__process_mmap2_event()
1891 strlcpy(xm.name, event->mmap2.filename, KMAP_NAME_LEN); in machine__process_mmap2_event()
1898 thread = machine__findnew_thread(machine, event->mmap2.pid, in machine__process_mmap2_event()
[all …]
Ddata-convert-bt.c931 __FUNC_PROCESS_NON_SAMPLE(mmap2,
932 __NON_SAMPLE_SET_FIELD(mmap2, u32, pid);
933 __NON_SAMPLE_SET_FIELD(mmap2, u32, tid);
934 __NON_SAMPLE_SET_FIELD(mmap2, u64_hex, start);
935 __NON_SAMPLE_SET_FIELD(mmap2, string, filename);
1283 __FUNC_ADD_NON_SAMPLE_EVENT_CLASS(mmap2,
1610 .mmap2 = perf_event__process_mmap2, in bt_convert__perf2ctf()
1630 c.tool.mmap2 = process_mmap2_event; in bt_convert__perf2ctf()
Dtool.h47 mmap2, member
Dperf_event_attr_fprintf.c128 PRINT_ATTRf(mmap2, p_unsigned); in perf_event_attr__fprintf()
Devsel.c1282 attr->mmap2 = track && !perf_missing_features.mmap2; in evsel__config()
1869 if (perf_missing_features.mmap2) in evsel__disable_missing_features()
1870 evsel->core.attr.mmap2 = 0; in evsel__disable_missing_features()
1965 } else if (!perf_missing_features.mmap2 && evsel->core.attr.mmap2) { in evsel__detect_missing_features()
1966 perf_missing_features.mmap2 = true; in evsel__detect_missing_features()
Ddata-convert-json.c289 .mmap2 = perf_event__process_mmap2, in bt_convert__perf2json()
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/kernel/
Dsyscalls.c52 SYSCALL_DEFINE6(mmap2, unsigned long, addr, size_t, len, in SYSCALL_DEFINE6() argument
60 COMPAT_SYSCALL_DEFINE6(mmap2, in COMPAT_SYSCALL_DEFINE6() argument
/linux-6.1.9/tools/perf/
Dbuiltin-inject.c482 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_mmap2()
483 event->mmap2.filename, NULL, machine); in perf_event__repipe_mmap2()
508 event->mmap2.filename, event->mmap2.pid, event->mmap2.tid, &n); in perf_event__jit_repipe_mmap2()
525 .maj = event->mmap2.maj, in perf_event__repipe_buildid_mmap2()
526 .min = event->mmap2.min, in perf_event__repipe_buildid_mmap2()
527 .ino = event->mmap2.ino, in perf_event__repipe_buildid_mmap2()
528 .ino_generation = event->mmap2.ino_generation, in perf_event__repipe_buildid_mmap2()
534 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2()
535 event->mmap2.filename, NULL, machine); in perf_event__repipe_buildid_mmap2()
544 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2()
[all …]
/linux-6.1.9/arch/microblaze/kernel/
Dsys_microblaze.c46 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/linux-6.1.9/arch/csky/kernel/
Dsyscall.c17 SYSCALL_DEFINE6(mmap2, in SYSCALL_DEFINE6() argument
/linux-6.1.9/arch/riscv/kernel/
Dsys_riscv.c35 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/linux-6.1.9/tools/perf/tests/attr/
Dsystem-wide-dummy38 mmap2=1
/linux-6.1.9/arch/s390/kernel/
Dsyscall.c56 SYSCALL_DEFINE1(mmap2, struct s390_mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc_32.c101 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
/linux-6.1.9/tools/perf/tests/
Dattr.c129 WRITE_ASS(mmap2, "d"); in store_event()
Dperf-record.c253 mmap_filename = event->mmap2.filename; in test__PERF_RECORD()
/linux-6.1.9/tools/lib/perf/include/perf/
Devent.h468 struct perf_record_mmap2 mmap2; member
/linux-6.1.9/tools/perf/Documentation/
Dperf-inject.txt103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
/linux-6.1.9/tools/include/uapi/linux/
Dperf_event.h443 mmap2 : 1, /* include mmap with inode data */ member
/linux-6.1.9/include/uapi/linux/
Dperf_event.h443 mmap2 : 1, /* include mmap with inode data */ member

123