diff options
author | David Smith <dsmith@redhat.com> | 2009-07-09 15:16:57 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2009-07-09 15:16:57 -0500 |
commit | c145b9cb053a1275865302d23fb3072143534fc8 (patch) | |
tree | 24e2d8c1de5f5ef96a5e059f47632c5d93988370 /parse.h | |
parent | fd6fef3d049555f7af24ba94fbcf42a846390dd1 (diff) | |
download | systemtap-steved-c145b9cb053a1275865302d23fb3072143534fc8.tar.gz systemtap-steved-c145b9cb053a1275865302d23fb3072143534fc8.tar.xz systemtap-steved-c145b9cb053a1275865302d23fb3072143534fc8.zip |
Added timer data flushing and overwrite handling to the ring_buffer transport.
* buildrun.cxx (compile_pass): Checks for ring_buffer api change.
* runtime/autoconf-ring_buffer-flags.c: New file.
* runtime/transport/ring_buffer.c (tracing_wait_pipe): No longer
schedules, just returns. The timer function will handle it later.
(_stp_data_write_reserve): Handles ring_buffer api change. Added
overwrite processing. If we're full, delete an event to make room.
(_stp_data_write_commit): Handles ring_buffer api change.
(__stp_relay_wakeup_timer): New function.
(__stp_relay_timer_start): Ditto.
(__stp_relay_timer_stop): Ditto.
(_stp_transport_data_fs_start): Calls __stp_relay_timer_start().
(_stp_transport_data_fs_stop): Calls __stp_relay_timer_stop().
(_stp_transport_data_fs_overwrite): Sets overwrite flag.
Diffstat (limited to 'parse.h')
0 files changed, 0 insertions, 0 deletions