Lines Matching refs:mmap
77 S(mmap); in SerializePerfEventAttr()
129 S(mmap); in DeserializePerfEventAttr()
495 const struct mmap_event& mmap = event.mmap; in SerializeMMapEvent() local
496 sample->set_pid(mmap.pid); in SerializeMMapEvent()
497 sample->set_tid(mmap.tid); in SerializeMMapEvent()
498 sample->set_start(mmap.start); in SerializeMMapEvent()
499 sample->set_len(mmap.len); in SerializeMMapEvent()
500 sample->set_pgoff(mmap.pgoff); in SerializeMMapEvent()
501 sample->set_filename(mmap.filename); in SerializeMMapEvent()
502 sample->set_filename_md5_prefix(Md5Prefix(mmap.filename)); in SerializeMMapEvent()
509 struct mmap_event& mmap = event->mmap; in DeserializeMMapEvent() local
510 mmap.pid = sample.pid(); in DeserializeMMapEvent()
511 mmap.tid = sample.tid(); in DeserializeMMapEvent()
512 mmap.start = sample.start(); in DeserializeMMapEvent()
513 mmap.len = sample.len(); in DeserializeMMapEvent()
514 mmap.pgoff = sample.pgoff(); in DeserializeMMapEvent()
515 snprintf(mmap.filename, PATH_MAX, "%s", sample.filename().c_str()); in DeserializeMMapEvent()
522 const struct mmap2_event& mmap = event.mmap2; in SerializeMMap2Event() local
523 sample->set_pid(mmap.pid); in SerializeMMap2Event()
524 sample->set_tid(mmap.tid); in SerializeMMap2Event()
525 sample->set_start(mmap.start); in SerializeMMap2Event()
526 sample->set_len(mmap.len); in SerializeMMap2Event()
527 sample->set_pgoff(mmap.pgoff); in SerializeMMap2Event()
528 sample->set_maj(mmap.maj); in SerializeMMap2Event()
529 sample->set_min(mmap.min); in SerializeMMap2Event()
530 sample->set_ino(mmap.ino); in SerializeMMap2Event()
531 sample->set_ino_generation(mmap.ino_generation); in SerializeMMap2Event()
532 sample->set_prot(mmap.prot); in SerializeMMap2Event()
533 sample->set_flags(mmap.flags); in SerializeMMap2Event()
534 sample->set_filename(mmap.filename); in SerializeMMap2Event()
535 sample->set_filename_md5_prefix(Md5Prefix(mmap.filename)); in SerializeMMap2Event()
542 struct mmap2_event& mmap = event->mmap2; in DeserializeMMap2Event() local
543 mmap.pid = sample.pid(); in DeserializeMMap2Event()
544 mmap.tid = sample.tid(); in DeserializeMMap2Event()
545 mmap.start = sample.start(); in DeserializeMMap2Event()
546 mmap.len = sample.len(); in DeserializeMMap2Event()
547 mmap.pgoff = sample.pgoff(); in DeserializeMMap2Event()
548 mmap.maj = sample.maj(); in DeserializeMMap2Event()
549 mmap.min = sample.min(); in DeserializeMMap2Event()
550 mmap.ino = sample.ino(); in DeserializeMMap2Event()
551 mmap.ino_generation = sample.ino_generation(); in DeserializeMMap2Event()
552 mmap.prot = sample.prot(); in DeserializeMMap2Event()
553 mmap.flags = sample.flags(); in DeserializeMMap2Event()
554 snprintf(mmap.filename, PATH_MAX, "%s", sample.filename().c_str()); in DeserializeMMap2Event()