aboutsummaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-25 20:06:34 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-25 21:03:17 -0400
commit318e0a73c9e41b9a17241829bcd0605a39b87cb9 (patch)
tree230bd849953f60d12003fd5b9fecfd151ebb468b /fs/fat
parentfb9fb015e92123fa3a8e0c2e2fff491d4a56b470 (diff)
tracing: remove on the fly allocator from function profiler
Impact: safer code The on the fly allocator for the function profiler was to save memory. But at the expense of stability. Although it survived several tests, allocating from the function tracer is just too risky, just to save space. This patch removes the allocator and simply allocates enough entries at start up. Each function gets a profiling structure of 40 bytes. With an average of 20K functions, and this is for each CPU, we have 800K per online CPU. This is not too bad, at least for non-embedded. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions