ftrace: Add warning if tramp hash does not match nr_trampolines
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 24 Jul 2014 15:26:11 +0000 (11:26 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 24 Jul 2014 15:26:11 +0000 (11:26 -0400)
After adding all the records to the tramp_hash, add a check that makes
sure that the number of records added matches the number of records
expected to match and do a WARN_ON and disable ftrace if they do
not match.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found