diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-07-24 11:26:11 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-07-24 11:26:11 -0400 |
commit | dc6f03f26f570104a2bb03f9d1deb588026d7c75 (patch) | |
tree | d2834b5e90000dee36132694395e0911e6c3f16e /arch/sh | |
parent | 2a0343baa4cc0d4e618898f8bdae8136bbb6e1b2 (diff) | |
download | linux-stable-dc6f03f26f570104a2bb03f9d1deb588026d7c75.tar.gz linux-stable-dc6f03f26f570104a2bb03f9d1deb588026d7c75.tar.bz2 linux-stable-dc6f03f26f570104a2bb03f9d1deb588026d7c75.zip |
ftrace: Add warning if tramp hash does not match nr_trampolines
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>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions