title: How to decode /proc/pid/pagemap entries in Linux?
body: <p>I am trying to decipher how to use /proc/pid/pagemap to get the physical address of a given set of pages. Suppose from the /proc/pid/maps, I get the virtual address afa2d000-afa42000 which corresponds to the heap. My question is how do I use this info to traverse the pagemap file and find the physical page frames correspond to the address afa2d000-afa42000. </p>
  
  <p>The /proc/pid/pagemap entry is in binary format. Is there any tools to help parsing of this file?</p>