linux/include
Steven Rostedt 493762fc53 tracing: move function profiler data out of function struct
Impact: reduce size of memory in function profiler

The function profiler originally introduces its counters into the
function records itself. There is 20 thousand different functions on
a normal system, and that is adding 20 thousand counters for profiling
event when not needed.

A normal run of the profiler yields only a couple of thousand functions
executed, depending on what is being profiled. This means we have around
18 thousand useless counters.

This patch rectifies this by moving the data out of the function
records used by dynamic ftrace. Data is preallocated to hold the functions
when the profiling begins. Checks are made during profiling to see if
more recorcds should be allocated, and they are allocated if it is safe
to do so.

This also removes the dependency from using dynamic ftrace, and also
removes the overhead by having it enabled.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2009-03-24 23:41:06 -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 tracing: move function profiler data out of function struct 2009-03-24 23:41:06 -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