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
tree: 30dc81e68e031a99c528ae2a84e89b66f9929c12
  1. scripts/
  2. src/
  3. .gitignore
  4. LICENSE
  5. Makefile