]> git.karo-electronics.de Git - mv-sheeva.git/commit
tracing: add average time in function to function profiler
authorSteven Rostedt <srostedt@redhat.com>
Thu, 26 Mar 2009 01:00:47 +0000 (21:00 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 26 Mar 2009 01:03:36 +0000 (21:03 -0400)
commit34886c8bc590f078d4c0b88f50d061326639198d
tree5119877f332b554bb0c777cdb926e6a49f866d9b
parent318e0a73c9e41b9a17241829bcd0605a39b87cb9
tracing: add average time in function to function profiler

Show the average time in the function (Time / Hit)

  Function                               Hit    Time            Avg
  --------                               ---    ----            ---
  mwait_idle                              51    140326.6 us     2751.503 us
  smp_apic_timer_interrupt                47    3517.735 us     74.845 us
  schedule                                10    2738.754 us     273.875 us
  __schedule                              10    2732.857 us     273.285 us
  hrtimer_interrupt                       47    1896.104 us     40.342 us
  irq_exit                                56    1711.833 us     30.568 us
  __run_hrtimer                           47    1315.589 us     27.991 us
  tick_sched_timer                        47    1138.690 us     24.227 us
  do_softirq                              56    1116.829 us     19.943 us
  __do_softirq                            56    1066.932 us     19.052 us
  do_IRQ                                   9    926.153 us      102.905 us

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/ftrace.c