commit | 1c7f9b673dc0a15753274c4e7f5ebfd4468fc69f | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Nov 15 14:13:20 2019 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Fri Nov 15 14:23:55 2019 -0500 |
tree | 7d512e871891ef7b725cd34920d20c6e6fe0df0a | |
parent | 760f8bc7c89c87bff9c01a8746e85dcc6e771ea8 [diff] |
ftrace: Fix accounting bug with direct->count in register_ftrace_direct() The direct->count wasn't being updated properly, where it only was updated when the first entry was added, but should be updated every time. Fixes: 013bf0da04748 ("ftrace: Add ftrace_find_direct_func()") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>