diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-12-23 23:24:12 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 12:46:11 +0100 |
commit | f0868d1e23a8efec33beb3aa688aab7fdb1ae093 (patch) | |
tree | 73593e14d0d127fe3fe055a85b6e16b50a43578a /kernel/trace/trace_power.c | |
parent | c47956d9ae3341d2d1998bff26620fa3338c01e4 (diff) | |
download | kernel_samsung_tuna-f0868d1e23a8efec33beb3aa688aab7fdb1ae093.zip kernel_samsung_tuna-f0868d1e23a8efec33beb3aa688aab7fdb1ae093.tar.gz kernel_samsung_tuna-f0868d1e23a8efec33beb3aa688aab7fdb1ae093.tar.bz2 |
ftrace: set up trace event hash infrastructure
Impact: simplify/generalize/refactor trace.c
The trace.c file is becoming more difficult to maintain due to the
growing number of events. There is several formats that an event may
be printed. This patch sets up the infrastructure of an event hash to
allow for events to register how they should be printed.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_power.c')
-rw-r--r-- | kernel/trace/trace_power.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_power.c b/kernel/trace/trace_power.c index a7172a3..b9b13c3 100644 --- a/kernel/trace/trace_power.c +++ b/kernel/trace/trace_power.c @@ -16,6 +16,7 @@ #include <linux/module.h> #include "trace.h" +#include "trace_output.h" static struct trace_array *power_trace; static int __read_mostly trace_power_enabled; |