Lines Matching refs:mmap2
463 filename = event->mmap2.filename; in jit_repipe_code_load()
495 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_load()
496 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_load()
497 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_load()
498 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_load()
500 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_load()
501 event->mmap2.start = addr; in jit_repipe_code_load()
502 event->mmap2.len = usize ? ALIGN_8(csize) + usize : csize; in jit_repipe_code_load()
503 event->mmap2.pid = pid; in jit_repipe_code_load()
504 event->mmap2.tid = tid; in jit_repipe_code_load()
505 event->mmap2.ino = st.st_ino; in jit_repipe_code_load()
506 event->mmap2.maj = major(st.st_dev); in jit_repipe_code_load()
507 event->mmap2.min = minor(st.st_dev); in jit_repipe_code_load()
508 event->mmap2.prot = st.st_mode; in jit_repipe_code_load()
509 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_load()
510 event->mmap2.ino_generation = 1; in jit_repipe_code_load()
575 filename = event->mmap2.filename; in jit_repipe_code_move()
588 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_move()
589 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_move()
590 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_move()
591 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_move()
592 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_move()
593 event->mmap2.start = jr->move.new_code_addr; in jit_repipe_code_move()
594 event->mmap2.len = usize ? ALIGN_8(jr->move.code_size) + usize in jit_repipe_code_move()
596 event->mmap2.pid = pid; in jit_repipe_code_move()
597 event->mmap2.tid = tid; in jit_repipe_code_move()
598 event->mmap2.ino = st.st_ino; in jit_repipe_code_move()
599 event->mmap2.maj = major(st.st_dev); in jit_repipe_code_move()
600 event->mmap2.min = minor(st.st_dev); in jit_repipe_code_move()
601 event->mmap2.prot = st.st_mode; in jit_repipe_code_move()
602 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_move()
603 event->mmap2.ino_generation = 1; in jit_repipe_code_move()