Repository navigation
Commit dc6f03f
committed
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>1 parent 2a0343b commit dc6f03f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2226 | 2226 | | |
2227 | 2227 | | |
2228 | 2228 | | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
2229 | 2232 | | |
2230 | 2233 | | |
2231 | 2234 | | |
| |||
0 commit comments