title: Logging Memory Access Footprint
body: <p>I found <a href="https://github.com/aclements/mtrace" rel="nofollow noreferrer">mtrace</a> by Dr.Clements. Although it is useful, it doesn't work normally in the situation I need. I intend to use the record to understand memory access pattern in different scenario.</p>
  
  <p>Can someone share the related experience? Any suggestion will be appreciated.</p>
  
  <p><strong>0313 Updated</strong>:
  I'm trying to use qemu-mtrace to boot ubuntu 16.04 with linux-mtrace(3.8.0),
  but it only show several error message and terminated. Hope some tool be able to log every access.</p>
  
  <pre><code>$ ./qemu-system-x86_64 -mtrace-enable -mtrace-file mtrace.out -hda ubuntu.img -m 1024
  Error: mtrace_entry_ascope (exit, syscall:xx) with no stack tag!
  mtrace_entry_register: mtrace_host_addr failed (10)
  mtrace_inst_exec: bad call 140734947607728
  Aborted (core dumped)
  </code></pre>