diff options
author | David Smith <dsmith@redhat.com> | 2009-07-15 11:16:51 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-07-15 11:16:51 -0500 |
commit | 8772093db493fc3309b2c29dbdf738ce1645cc88 (patch) | |
tree | 2e18212821f17a3bc7d5fc361b7d46f29f2347ea /parse.cxx | |
parent | 95b487983038ef43b0abf832aeb3cb63aba4fbdb (diff) | |
download | systemtap-steved-8772093db493fc3309b2c29dbdf738ce1645cc88.tar.gz systemtap-steved-8772093db493fc3309b2c29dbdf738ce1645cc88.tar.xz systemtap-steved-8772093db493fc3309b2c29dbdf738ce1645cc88.zip |
Implemented ring_buffer iterators.
* runtime/transport/ring_buffer.c (_stp_ring_buffer_empty_cpu): New function.
(_stp_ring_buffer_empty): Ditto.
(_stp_ring_buffer_iterator_increment): Ditto.
(_stp_tracing_wait_pipe): Calls _stp_ring_buffer_empty() instead of
ring_buffer_empty().
(_stp_peek_next_event): Looks at iterators first.
(_stp_find_next_event): Calls _stp_ring_buffer_empty_cpu() and
increments iterator.
(_stp_data_read_trace): Opens and closes ring_buffer iterators.
(_stp_data_poll_trace): Calls _stp_ring_buffer_empty().
(__stp_relay_wakeup_timer): Ditto.
* runtime/transport/control.c (_stp_ctl_write_cmd): Increased level
required to get a debug print.
Diffstat (limited to 'parse.cxx')
0 files changed, 0 insertions, 0 deletions