title: How can I get perf to find symbols in my program
body: <p>When using <code>perf report</code>, I don't see any symbols for my program, instead I get output like this:  </p>
  
  <pre><code>$ perf record /path/to/racket ints.rkt 10000
  $ perf report --stdio
  
  # Overhead   Command      Shared Object  Symbol
  # ........  ........  .................  ......
  #
      70.06%  ints.rkt  [unknown]          [.] 0x5f99b8        
      26.28%  ints.rkt  [kernel.kallsyms]  [k] 0xffffffff8103d0ca
       3.66%  ints.rkt  perf-32046.map     [.] 0x7f1d9be46650  
  </code></pre>
  
  <p>Which is fairly uninformative.  </p>
  
  <p>The relevant program is built with debugging symbols, and the <code>sysprof</code> tool shows the appropriate symbols, as does Zoom, which I think is using <code>perf</code> under the hood.</p>
  
  <p>Note that this is on x86-64, so the binary is compiled with <code>-fomit-frame-pointer</code>, but that's the case when running under the other tools as well.</p>