title: Perf Tool Linux - No Call-Graph
body: <p>I am tring to use <code>perf version 3.0.8</code> to profile my embedded system <code>Linux kernel version 3.0.8</code>. </p>
  
  <p>I cross-compiled tools/perf using zlib and elfutils.</p>
  
  <p>In order to familiarize with this tool I am using a simple quicksort example compiled using <code>-g</code> option.</p>
  
  <p>I run <code>perf record -F 99 -g -- ./qsort</code> (copied from the example) and then <code>perf report --stdio</code> to see my profile results.</p>
  
  <p>This is a snapshot of the <code>perf report -g --stdio</code> output:</p>
  
  <pre><code>No kallsyms or vmlinux with build-id f41dfb5606beda1d75171db69f1e9466cb4868ba was found
  [hi3518_dsu] with build id f41dfb5606beda1d75171db69f1e9466cb4868ba not found, continuing without symbols
  No kallsyms or vmlinux with build-id a0f9a05faf6bcfb72282a03e048b47e8a8c0f2ec was found
  [hi3518_tde] with build id a0f9a05faf6bcfb72282a03e048b47e8a8c0f2ec not found, continuing without symbols
  
  # Events: 256  cpu-clock
      #
      # Overhead  Command      Shared Object                  Symbol
      # ........  .......  .................  ......................
      #
          96.88%    qsort  qsort              [.] partition
           0.78%    qsort  [kernel.kallsyms]  [k] __do_softirq
           0.39%    qsort  [kernel.kallsyms]  [k] __wake_up_sync_key
           0.39%    qsort  [kernel.kallsyms]  [k] get_page_from_freelist
           0.39%    qsort  [kernel.kallsyms]  [k] __memzero
           0.39%    qsort  [kernel.kallsyms]  [k] div_s64_rem
           0.39%    qsort  [hi3518_tde]       [k] 0x58
           0.39%    qsort  [hi3518_dsu]       [k] 0x8154
  </code></pre>
  
  <p>As you can see there is not call-trace at all. I am really interested to study in deep my system and without a call-trace these results are useless.</p>