Skip to content
Commit f02b625d authored by Jamie Iles's avatar Jamie Iles Committed by Steven Rostedt
Browse files

recordmcount.pl: Add support for __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.  This is required for Ksplice as the C
version of recordmcount doesn't insert section symbols for the
__mcount_loc section so we fall back to the perl version.

Based on 48bb5dc6 (ftrace: Make
recordmcount.c handle __fentry__).
Link: http://lkml.kernel.org/r/1383648129-10724-1-git-send-email-jamie.iles@oracle.com



Signed-off-by: default avatarJamie Iles <jamie.iles@oracle.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent b5aa3a47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment