diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-07-13 15:03:44 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-07-13 22:00:50 -0400 |
commit | 41fb61c2d08107ce96a5dcb3a6289b2afd3e135c (patch) | |
tree | ca3ae1796ca1d3f01f2bb62eba1fbc93db1affae /.gitignore | |
parent | 4376cac66778b25e599be3f5d54f33f58ba8ead7 (diff) |
ftrace: Balance records when updating the hash
Whenever the hash of the ftrace_ops is updated, the record counts
must be balance. This requires disabling the records that are set
in the original hash, and then enabling the records that are set
in the updated hash.
Moving the update into ftrace_hash_move() removes the bug where the
hash was updated but the records were not, which results in ftrace
triggering a warning and disabling itself because the ftrace_ops filter
is updated while the ftrace_ops was registered, and then the failure
happens when the ftrace_ops is unregistered.
The current code will not trigger this bug, but new code will.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions