]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: take advantage of variable length entries
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 30 Sep 2008 03:02:42 +0000 (23:02 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:59 +0000 (10:38 +0200)
commit3d00946ce1c668dc17e6b7ff8ab6f55349f394fc
tree1e5940ccafd26c958b358f7ce85926659f12c37d
parent3970c74fac83114b4e9ca1221c345ec8fd9de84f
ftrace: take advantage of variable length entries

Now that the underlining ring buffer for ftrace now hold variable length
entries, we can take advantage of this by only storing the size of the
actual event into the buffer. This happens to increase the number of
entries in the buffer dramatically.

We can also get rid of the "trace_cont" operation, but I'm keeping that
until we have no more users. Some of the ftrace tracers can now change
their code to adapt to this new feature.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_boot.c
kernel/trace/trace_mmiotrace.c