tracing: Remove duplicate id information in event structure
Now that the trace_event structure is embedded in the ftrace_event_call
structure, there is no need for the ftrace_event_call id field.
The id field is the same as the trace_event type field.
Removing the id and re-arranging the structure brings down the tracepoint
footprint by another 5K.
text data bss dec hex filename
4913961 1088356 861512 6863829 68bbd5 vmlinux.orig
4895024 1023812
861512 6780348 6775bc vmlinux.print
4894944 1018052 861512 6774508 675eec vmlinux.id
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
committed by
Steven Rostedt
parent
80decc70af
commit
32c0edaeaa
@@ -149,14 +149,13 @@ struct ftrace_event_call {
|
||||
char *name;
|
||||
struct dentry *dir;
|
||||
struct trace_event event;
|
||||
int enabled;
|
||||
int id;
|
||||
const char *print_fmt;
|
||||
int filter_active;
|
||||
struct event_filter *filter;
|
||||
void *mod;
|
||||
void *data;
|
||||
|
||||
int enabled;
|
||||
int filter_active;
|
||||
int perf_refcount;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user