diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-23 13:33:07 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 14:00:24 (GMT) |
commit | 08f5ac906d2c0faf96d608c54a0b03177376da8d (patch) | |
tree | ee43d94b168b9c3b757db83aea78b45eb3a556c1 /include/linux/ftrace.h | |
parent | 4d296c24326783bff1282ac72f310d8bac8df413 (diff) | |
download | linux-fsl-qoriq-08f5ac906d2c0faf96d608c54a0b03177376da8d.tar.xz |
ftrace: remove ftrace hash
The ftrace hash was used by the ftrace_daemon code. The record ip function
would place the calling address (ip) into the hash. The daemon would later
read the hash and modify that code.
The hash complicates the code. This patch removes it.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 1c4835f..703eb53 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -44,8 +44,6 @@ static inline void ftrace_kill(void) { } #endif /* CONFIG_FUNCTION_TRACER */ #ifdef CONFIG_DYNAMIC_FTRACE -# define FTRACE_HASHBITS 10 -# define FTRACE_HASHSIZE (1<<FTRACE_HASHBITS) enum { FTRACE_FL_FREE = (1 << 0), @@ -58,9 +56,9 @@ enum { }; struct dyn_ftrace { - struct hlist_node node; - unsigned long ip; /* address of mcount call-site */ - unsigned long flags; + struct list_head list; + unsigned long ip; /* address of mcount call-site */ + unsigned long flags; }; int ftrace_force_update(void); |