aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-05-24 04:22:49 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-06-28 17:12:46 -0400
commit8728fe501ed562c1b46dde3c195eadec77bca033 (patch)
treec911b4a6af85817ba6bdf3342cbae4838c14b1bb /kernel/trace/trace.h
parentc9642c49aae1272d7c24008a40ae614470b957a6 (diff)
tracing: Don't allocate common fields for every trace events
Every event has the same common fields, so it's a big waste of memory to have a copy of those fields for every event. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4BFA3759.30105@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 01ce088c1cdf..cc90ccdad469 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -698,6 +698,8 @@ struct filter_pred {
698 int pop_n; 698 int pop_n;
699}; 699};
700 700
701extern struct list_head ftrace_common_fields;
702
701extern enum regex_type 703extern enum regex_type
702filter_parse_regex(char *buff, int len, char **search, int *not); 704filter_parse_regex(char *buff, int len, char **search, int *not);
703extern void print_event_filter(struct ftrace_event_call *call, 705extern void print_event_filter(struct ftrace_event_call *call,