Lines Matching refs:mmap2

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()
500 event->mmap2.ino = st.st_ino; in jit_repipe_code_load()
501 event->mmap2.maj = major(st.st_dev); in jit_repipe_code_load()
502 event->mmap2.min = minor(st.st_dev); in jit_repipe_code_load()
503 event->mmap2.prot = st.st_mode; in jit_repipe_code_load()
504 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_load()
505 event->mmap2.ino_generation = 1; in jit_repipe_code_load()
572 filename = event->mmap2.filename; in jit_repipe_code_move()
585 event->mmap2.header.type = PERF_RECORD_MMAP2; in jit_repipe_code_move()
586 event->mmap2.header.misc = PERF_RECORD_MISC_USER; in jit_repipe_code_move()
587 event->mmap2.header.size = (sizeof(event->mmap2) - in jit_repipe_code_move()
588 (sizeof(event->mmap2.filename) - size) + idr_size); in jit_repipe_code_move()
589 event->mmap2.pgoff = GEN_ELF_TEXT_OFFSET; in jit_repipe_code_move()
590 event->mmap2.start = jr->move.new_code_addr; in jit_repipe_code_move()
591 event->mmap2.len = usize ? ALIGN_8(jr->move.code_size) + usize in jit_repipe_code_move()
593 event->mmap2.pid = pid; in jit_repipe_code_move()
594 event->mmap2.tid = tid; in jit_repipe_code_move()
595 event->mmap2.ino = st.st_ino; in jit_repipe_code_move()
596 event->mmap2.maj = major(st.st_dev); in jit_repipe_code_move()
597 event->mmap2.min = minor(st.st_dev); in jit_repipe_code_move()
598 event->mmap2.prot = st.st_mode; in jit_repipe_code_move()
599 event->mmap2.flags = MAP_SHARED; in jit_repipe_code_move()
600 event->mmap2.ino_generation = 1; in jit_repipe_code_move()