kernel-fxtec-pro1x/include
Steven Rostedt 8aef2d2856 function-graph: ignore times across schedule
Impact: more accurate timings

The current method of function graph tracing does not take into
account the time spent when a task is not running. This shows functions
that call schedule have increased costs:

 3) + 18.664 us   |      }
 ------------------------------------------
 3)    <idle>-0    =>  kblockd-123
 ------------------------------------------

 3)               |      finish_task_switch() {
 3)   1.441 us    |        _spin_unlock_irq();
 3)   3.966 us    |      }
 3) ! 2959.433 us |    }
 3) ! 2961.465 us |  }

This patch uses the tracepoint in the scheduling context switch to
account for time that has elapsed while a task is scheduled out.
Now we see:

 ------------------------------------------
 3)    <idle>-0    =>  edac-po-1067
 ------------------------------------------

 3)               |      finish_task_switch() {
 3)   0.685 us    |        _spin_unlock_irq();
 3)   2.331 us    |      }
 3) + 41.439 us   |    }
 3) + 42.663 us   |  }

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2009-03-24 09:33:30 -04:00
..
acpi
asm-arm
asm-frv Merge branch 'x86/core' into tracing/textedit 2009-03-06 16:45:01 +01:00
asm-generic tracing/syscalls: core infrastructure for syscalls tracing, enhancements 2009-03-13 16:57:42 +01:00
asm-h8300
asm-m32r Merge branch 'x86/core' into tracing/textedit 2009-03-06 16:45:01 +01:00
asm-mn10300 Merge branch 'x86/core' into tracing/textedit 2009-03-06 16:45:01 +01:00
crypto
drm drm: fix EDID parser problem with positive/negative hsync/vsync 2009-03-11 12:18:48 +10:00
keys
linux function-graph: ignore times across schedule 2009-03-24 09:33:30 -04:00
math-emu
media
mtd
net netns: Remove net_alive 2009-03-03 01:14:27 -08:00
pcmcia
rdma
rxrpc
scsi [SCSI] fcoe: Out of order tx frames was causing several check condition SCSI status 2009-03-10 09:09:21 -05:00
sound
trace tracing: tracepoints for softirq entry/exit - tracepoints 2009-03-12 21:20:58 -04:00
video
xen
Kbuild