commit | 45ad21ca5530efdca6a19e4a5ac5e7bd6e24f996 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <srostedt@redhat.com> | Tue Mar 05 18:25:02 2013 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Fri Mar 15 00:35:48 2013 -0400 |
tree | 7bc01dd23c577dae038281be2f644ef3e3e1354e | |
parent | 6de58e6269cd0568ca5fbae14423914eff0f7811 [diff] |
tracing: Have trace_array keep track if snapshot buffer is allocated The snapshot buffer belongs to the trace array not the tracer that is running. The trace array should be the data structure that keeps track of whether or not the snapshot buffer is allocated, not the tracer desciptor. Having the trace array keep track of it makes modifications so much easier. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>