diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2009-11-26 01:49:08 -0500 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2009-11-26 01:55:57 -0500 |
| commit | 6b3810a9f25926d3186b3d533c44781af4bfcbc1 (patch) | |
| tree | 0f89fbf31253fd9375de8ab53f8e4b4898872c55 /plugin_mac80211.c | |
| parent | fb6da03ff6ed69c9d9a750212cf109f6d5325a72 (diff) | |
Remove trace_read_data() and trace_peek_data()
The trace_read_data and trace_peek_data() required a global file
descriptor for reading. This was kept because the library libparsevent
had the function graph tracer implementation and required a callback
to read. This code has been moved out of parse_events.c and into a
special override function.
Now it still uses the global read, but since libtracecmd has a little more
scope than libparsevent, we added a thread variable
tracecmd_curr_thread_handle
This is unique per thread, and is set right after data is read.
Yes there are some races, but we can deal with it for now.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'plugin_mac80211.c')
0 files changed, 0 insertions, 0 deletions
