diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-07-02 05:34:22 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-07-02 16:17:04 +0200 |
commit | 7b85af63034818e43aee6c1d7bf1c7c6796a9073 (patch) | |
tree | 4bc354897ff28147a5aedb7c318608a30d46e61b /kernel/rcutree_trace.c | |
parent | tracing: Add trace_array_get/put() to handle instance refs better (diff) | |
download | linux-7b85af63034818e43aee6c1d7bf1c7c6796a9073.tar.xz linux-7b85af63034818e43aee6c1d7bf1c7c6796a9073.zip |
tracing: Get trace_array ref counts when accessing trace files
When a trace file is opened that may access a trace array, it must
increment its ref count to prevent it from being deleted.
Cc: stable@vger.kernel.org # 3.10
Reported-by: Alexander Lam <azl@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/rcutree_trace.c')
0 files changed, 0 insertions, 0 deletions