diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-05-24 04:22:49 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-28 17:12:46 -0400 |
commit | 8728fe501ed562c1b46dde3c195eadec77bca033 (patch) | |
tree | c911b4a6af85817ba6bdf3342cbae4838c14b1bb /kernel/trace/trace.h | |
parent | c9642c49aae1272d7c24008a40ae614470b957a6 (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.h | 2 |
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 | ||
701 | extern struct list_head ftrace_common_fields; | ||
702 | |||
701 | extern enum regex_type | 703 | extern enum regex_type |
702 | filter_parse_regex(char *buff, int len, char **search, int *not); | 704 | filter_parse_regex(char *buff, int len, char **search, int *not); |
703 | extern void print_event_filter(struct ftrace_event_call *call, | 705 | extern void print_event_filter(struct ftrace_event_call *call, |