title: How to analyze perf.data of perf sched record
body: <p>I have collected some perf data using :</p>
  
  <pre><code>perf sched record –g
  </code></pre>
  
  <p>I need to analyze the perf.data generated by this command.</p>
  
  <p>I am using following command for analysis:</p>
  
  <pre><code>perf report 
  </code></pre>
  
  <p>I see multiple sched events :</p>
  
  <pre><code>62K sched:sched_switch                                                                                                  ▒
  0 sched:sched_stat_wait                                                                                                 ▒
  0 sched:sched_stat_sleep                                                                                                ▒
  0 sched:sched_stat_iowait                                                                                               ▒
  120K sched:sched_stat_runtime                                                                                           ▒
  10 sched:sched_process_fork                                                                                             ▒
  31K sched:sched_wakeup                                                                                                  ▒
  10 sched:sched_wakeup_new                                                                                               ▒
  873 sched:sched_migrate_task    
  </code></pre>
  
  <p>After I open one of the events, I see something like :</p>
  
  <pre><code>+   80.00%     0.00%  ksmtuned  bash               [.] make_child
  +   80.00%     0.00%  ksmtuned  libc-2.17.so       [.] __libc_fork
  +   80.00%     0.00%  ksmtuned  [kernel.kallsyms]  [k] stub_clone
  +   80.00%     0.00%  ksmtuned  [kernel.kallsyms]  [k] sys_clone
  +   80.00%    80.00%  ksmtuned  [kernel.kallsyms]  [k] do_fork
  +   10.00%     0.00%      bash  bash               [.] make_child
  </code></pre>
  
  <p>I am not able to interpret this information.
  Following are the questions I have :</p>
  
  <p>1) What are the first two columns showing % values ? 
  2) Why don’t  the % values add up to 100 % ?
  3) What is the significance of these numbers ?</p>