title: how to get perf to decode symbols for hadoop java code
body: <p>I'm using perf tools on ubuntu 12.04 to profile system level performance of hadoop 2.4.1 map/reduce jobs by doing:</p>
  
  <pre><code>perf record -ag -F 100 sleep 60
  </code></pre>
  
  <p>My goal is to determine which processes/routines are consuming the cpu and identify candidates for optimization.</p>
  
  <p>Kernel symbols are decoded correctly, but java code is not.  Perf report looks something like:</p>
  
  <pre><code>Samples: 39K of event 'cycles', Event count (approx.): 11326629675790000f9f0                                                                                                                                  â
  +  10.64%           java  perf-9201.map               [.] 0x00007eff6c188127                                                                                                                                   
  +  10.57%           java  perf-8988.map               [.] 0x00007f71ac7b9a29                                                                                                                                   
  +   9.91%           java  perf-9077.map               [.] 0x00007fa9e92073e0                                                                                                                                   
  +   9.77%           java  perf-9025.map               [.] 0x00007f849cdf41a9                                                                                                                                   
  +   9.26%           java  perf-8747.map               [.] 0x00007f078c6bda82                                                                                                                                   
  +   7.85%           java  perf-31343.map              [.] 0x00007f6671041cb4                                                                                                                                   
  +   5.81%           java  perf-8835.map               [.] 0x00007f5df0d5afc4                                                                                                                                   
  +   5.78%           java  liblzo2.so.2.0.0            [.] lzo1x_decompress                                                                                                                                     
  +   2.61%           java  [kernel.kallsyms]           [k] copy_user_generic_string                                                                                                                             
  +   1.58%           java  libc-2.15.so                [.] 0x000000000008ce40                                                                                                                                   
  +   0.93%           java  perf-9677.map               [.] 0x00007f7c81012887                                                                                                                                   
  +   0.86%        swapper  [kernel.kallsyms]           [k] intel_idle                                                                                                                                           
  +   0.69%           java  libjvm.so                   [.] SpinPause                                                                                                                                            
  </code></pre>
  
  <p>So the question is, how do I get perf to decode the symbols for the java code?</p>