dynup/kpatch — pull request #284 by jpoimboe (2014-07-01 14:05:28+00:00)
Title: kmod/core: fix ftrace unregister order

Currently, when removing a patch module, the ftrace buffer gets flooded
with traces. This happens because we're clearing the ftrace ops filter
before unregistering the ops, which creates a small window where all
functions are being traced.

We should be doing the unregistering in the reverse order in which we
registered, meaning ops should be unregistered and _then_ the filter
should be cleared.