/Linux-v6.6/tools/perf/util/ |
D | jitdump.c | 458 filename = event->mmap2.filename; in jit_repipe_code_load() 490 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_load() 491 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_load() 492 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_load() 493 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_load() 495 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_load() 496 event->mmap2.start = addr; in jit_repipe_code_load() 497 event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize; in jit_repipe_code_load() 498 event->mmap2.pid = pid; in jit_repipe_code_load() 499 event->mmap2.tid = tid; in jit_repipe_code_load() [all …]
|
D | event.c | 330 build_id__init(&bid, event->mmap2.build_id, in perf_event__fprintf_mmap2() 331 event->mmap2.build_id_size); in perf_event__fprintf_mmap2() 336 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2() 337 event->mmap2.len, event->mmap2.pgoff, sbuild_id, in perf_event__fprintf_mmap2() 338 (event->mmap2.prot & PROT_READ) ? 'r' : '-', in perf_event__fprintf_mmap2() 339 (event->mmap2.prot & PROT_WRITE) ? 'w' : '-', in perf_event__fprintf_mmap2() 340 (event->mmap2.prot & PROT_EXEC) ? 'x' : '-', in perf_event__fprintf_mmap2() 341 (event->mmap2.flags & MAP_SHARED) ? 's' : 'p', in perf_event__fprintf_mmap2() 342 event->mmap2.filename); in perf_event__fprintf_mmap2() 346 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2() [all …]
|
D | synthetic-events.c | 461 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 …]
|
D | session.c | 484 if (tool->mmap2 == NULL) in perf_tool__fill_defaults() 485 tool->mmap2 = process_event_stub; in perf_tool__fill_defaults() 611 event->mmap2.pid = bswap_32(event->mmap2.pid); in perf_event__mmap2_swap() 612 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap() 613 event->mmap2.start = bswap_64(event->mmap2.start); in perf_event__mmap2_swap() 614 event->mmap2.len = bswap_64(event->mmap2.len); in perf_event__mmap2_swap() 615 event->mmap2.pgoff = bswap_64(event->mmap2.pgoff); in perf_event__mmap2_swap() 618 event->mmap2.maj = bswap_32(event->mmap2.maj); in perf_event__mmap2_swap() 619 event->mmap2.min = bswap_32(event->mmap2.min); in perf_event__mmap2_swap() 620 event->mmap2.ino = bswap_64(event->mmap2.ino); in perf_event__mmap2_swap() [all …]
|
D | machine.c | 1933 .maj = event->mmap2.maj, in machine__process_mmap2_event() 1934 .min = event->mmap2.min, in machine__process_mmap2_event() 1935 .ino = event->mmap2.ino, in machine__process_mmap2_event() 1936 .ino_generation = event->mmap2.ino_generation, in machine__process_mmap2_event() 1946 build_id__init(bid, event->mmap2.build_id, event->mmap2.build_id_size); in machine__process_mmap2_event() 1952 .start = event->mmap2.start, in machine__process_mmap2_event() 1953 .end = event->mmap2.start + event->mmap2.len, in machine__process_mmap2_event() 1954 .pgoff = event->mmap2.pgoff, in machine__process_mmap2_event() 1957 strlcpy(xm.name, event->mmap2.filename, KMAP_NAME_LEN); in machine__process_mmap2_event() 1964 thread = machine__findnew_thread(machine, event->mmap2.pid, in machine__process_mmap2_event() [all …]
|
D | data-convert-bt.c | 935 __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, in bt_convert__perf2ctf() 1634 c.tool.mmap2 = process_mmap2_event; in bt_convert__perf2ctf()
|
D | tool.h | 47 mmap2, member
|
D | evsel.c | 1256 attr->mmap2 = track && !perf_missing_features.mmap2; in evsel__config() 1848 if (perf_missing_features.mmap2) in evsel__disable_missing_features() 1849 evsel->core.attr.mmap2 = 0; in evsel__disable_missing_features() 1944 } else if (!perf_missing_features.mmap2 && evsel->core.attr.mmap2) { in evsel__detect_missing_features() 1945 perf_missing_features.mmap2 = true; in evsel__detect_missing_features()
|
D | perf_event_attr_fprintf.c | 296 PRINT_ATTRf(mmap2, p_unsigned); in perf_event_attr__fprintf()
|
D | data-convert-json.c | 322 .mmap2 = perf_event__process_mmap2, in bt_convert__perf2json()
|
/Linux-v6.6/tools/perf/bench/ |
D | inject-buildid.c | 182 memset(&event, 0, min(len, sizeof(event.mmap2))); in synthesize_mmap() 188 event.mmap2.pid = data->pid; in synthesize_mmap() 189 event.mmap2.tid = data->pid; in synthesize_mmap() 190 event.mmap2.maj = MMAP_DEV_MAJOR; in synthesize_mmap() 191 event.mmap2.ino = dso->ino; in synthesize_mmap() 193 strcpy(event.mmap2.filename, dso->name); in synthesize_mmap() 195 event.mmap2.start = dso_map_addr(dso); in synthesize_mmap() 196 event.mmap2.len = 4096; in synthesize_mmap() 197 event.mmap2.prot = PROT_EXEC; in synthesize_mmap() 199 if (len > sizeof(event.mmap2)) { in synthesize_mmap()
|
/Linux-v6.6/tools/perf/ |
D | builtin-inject.c | 491 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_mmap2() 492 event->mmap2.filename, NULL, machine); in perf_event__repipe_mmap2() 517 event->mmap2.filename, event->mmap2.pid, event->mmap2.tid, &n); in perf_event__jit_repipe_mmap2() 534 .maj = event->mmap2.maj, in perf_event__repipe_buildid_mmap2() 535 .min = event->mmap2.min, in perf_event__repipe_buildid_mmap2() 536 .ino = event->mmap2.ino, in perf_event__repipe_buildid_mmap2() 537 .ino_generation = event->mmap2.ino_generation, in perf_event__repipe_buildid_mmap2() 543 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2() 544 event->mmap2.filename, NULL, machine); in perf_event__repipe_buildid_mmap2() 554 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_buildid_mmap2() [all …]
|
D | builtin-mem.c | 455 .mmap2 = perf_event__process_mmap2, in cmd_mem()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | syscalls.c | 52 SYSCALL_DEFINE6(mmap2, unsigned long, addr, size_t, len, in SYSCALL_DEFINE6() argument 60 COMPAT_SYSCALL_DEFINE6(mmap2, in COMPAT_SYSCALL_DEFINE6() argument
|
/Linux-v6.6/arch/microblaze/kernel/ |
D | sys_microblaze.c | 46 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/Linux-v6.6/arch/csky/kernel/ |
D | syscall.c | 17 SYSCALL_DEFINE6(mmap2, in SYSCALL_DEFINE6() argument
|
/Linux-v6.6/tools/perf/tests/attr/ |
D | system-wide-dummy | 38 mmap2=1
|
/Linux-v6.6/arch/s390/kernel/ |
D | syscall.c | 56 SYSCALL_DEFINE1(mmap2, struct s390_mmap_arg_struct __user *, arg) in SYSCALL_DEFINE1() argument
|
/Linux-v6.6/arch/sparc/kernel/ |
D | sys_sparc_32.c | 101 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/Linux-v6.6/tools/perf/tests/ |
D | attr.c | 129 WRITE_ASS(mmap2, "d"); in store_event()
|
D | perf-record.c | 255 mmap_filename = event->mmap2.filename; in test__PERF_RECORD()
|
/Linux-v6.6/arch/riscv/kernel/ |
D | sys_riscv.c | 42 SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len, in SYSCALL_DEFINE6() argument
|
/Linux-v6.6/tools/lib/perf/include/perf/ |
D | event.h | 481 struct perf_record_mmap2 mmap2; member
|
/Linux-v6.6/tools/perf/Documentation/ |
D | perf-inject.txt | 103 Currently only mmap, mmap2, comm, task, context_switch, ksymbol,
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | perf_event.h | 444 mmap2 : 1, /* include mmap with inode data */ member
|