Skip to content

Commit

Permalink
ftrace: Add C version of recordmcount compile time code
Browse files Browse the repository at this point in the history
Currently, the mcount callers are found with a perl script that does
an objdump on every file in the kernel. This is a C version of that
same code which should increase the performance time of compiling
the kernel with dynamic ftrace enabled.

Signed-off-by: John Reiser <jreiser@bitwagon.com>

[ Updated the code to include .text.unlikely section as well as
  changing the format to follow Linux coding style. ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
jreiser authored and rostedt committed Oct 14, 2010
1 parent 3cba11d commit 81d3858
Showing 1 changed file with 885 additions and 0 deletions.
Loading

0 comments on commit 81d3858

Please sign in to comment.