]> git.baikalelectronics.ru Git - kernel.git/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)
commit93152e90f617bc85923efc940bc669fe5bd961da
tree1422d988954e16eae32003738b532e8ec8db9051
parent07012618efc27305ba7ffab47957d393dae837cd
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