Please sign in to comment.
ftrace: Make recordmcount.c handle __fentry__
With gcc 4.6.0 the -mfentry feature places the function profiling call at the start of the function. When this is used, the call is to __fentry__ and not mcount. Change recordmcount.c to record both callers to __fentry__ and mcount. Link: http://firstname.lastname@example.org Acked-by: H. Peter Anvin <email@example.com> Acked-by: John Reiser <firstname.lastname@example.org> Acked-by: Ingo Molnar <email@example.com> Cc: Andi Kleen <firstname.lastname@example.org> Signed-off-by: Steven Rostedt <email@example.com>
- Loading branch information...