commit | 110bf2b764eb6026b868d84499263cb24b1bcc8d | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Tue Jun 09 17:29:07 2009 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Jun 09 17:29:07 2009 -0400 |
tree | 66c869f6f96497051c4bda0797e234b3f7b39e8f | |
parent | 725c624a58a10ef90a2ff889e122158fabf36147 [diff] |
tracing: add protection around module events unload When reading the trace buffer, there is a race that when a module is unloaded it removes events that is stilled referenced in the buffers. This patch adds the protection around the unloading of the events from modules and the reading of the trace buffers. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>