ktrace: Have event_completion() be extendable
Currently event_completion() uses its own counter for the ccli_list_add*()
functions. This means something that calls it can not add to the list.
Have the counter passed to event_completion() such that the caller has
more control.
Also combine enable_event_completion() with disable_event_completion()
into disenable_event_completion() as the code for both became a bit more
complex, but is still exactly the same.
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
3 files changed