diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index db3fed630db3..015a3d22cf74 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -145,9 +145,15 @@ enum { | |||
145 | }; | 145 | }; |
146 | 146 | ||
147 | struct dyn_ftrace { | 147 | struct dyn_ftrace { |
148 | unsigned long ip; /* address of mcount call-site */ | 148 | union { |
149 | unsigned long flags; | 149 | unsigned long ip; /* address of mcount call-site */ |
150 | struct dyn_arch_ftrace arch; | 150 | struct dyn_ftrace *freelist; |
151 | }; | ||
152 | union { | ||
153 | unsigned long flags; | ||
154 | struct dyn_ftrace *newlist; | ||
155 | }; | ||
156 | struct dyn_arch_ftrace arch; | ||
151 | }; | 157 | }; |
152 | 158 | ||
153 | int ftrace_force_update(void); | 159 | int ftrace_force_update(void); |
@@ -369,8 +375,7 @@ struct ftrace_ret_stack { | |||
369 | extern void return_to_handler(void); | 375 | extern void return_to_handler(void); |
370 | 376 | ||
371 | extern int | 377 | extern int |
372 | ftrace_push_return_trace(unsigned long ret, unsigned long long time, | 378 | ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth); |
373 | unsigned long func, int *depth); | ||
374 | extern void | 379 | extern void |
375 | ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret); | 380 | ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret); |
376 | 381 | ||