]> Pileus Git - ~andy/linux/commit
tracing: Use direct field, type and system names
authorSteven Rostedt <srostedt@redhat.com>
Thu, 28 Feb 2013 01:41:37 +0000 (20:41 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:47 +0000 (00:34 -0400)
commit92edca073c374f66b8eee20ec6426fb0cdb6c4d5
tree1422d988954e16eae32003738b532e8ec8db9051
parentd1a291437f75f6c841819b7855d95a21958cc822
tracing: Use direct field, type and system names

The names used to display the field and type in the event format
files are copied, as well as the system name that is displayed.

All these names are created by constant values passed in.
If one of theses values were to be removed by a module, the module
would also be required to remove any event it created.

By using the strings directly, we can save over 100K of memory.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_events.c