title: Running perf within a VirtualBox guest
body: <p>My professor has asked me to run:</p>
  <pre><code>perf stat -e mem-loads,mem-stores ./test
  </code></pre>
  <p>In order for me to find the memory loads and stores for a C file. I'm doing this from within a VirtualBox Linux guest and problem is that <code>perf</code> is saying this is an invalid or unsupported event, can anyone advise as to what I'm doing wrong here?</p>
  <pre><code>invalid or unsupported event: 'mem-loads,'
  Run 'perf list' for a list of valid events
  
   Usage: perf stat [&lt;options&gt;] [&lt;command&gt;]
  
      -e, --event &lt;event&gt;   event selector. use 'perf list' to list available events
  </code></pre>
  <p>Are <code>perf</code> hardware events available from within a VirtualBox guest?</p>