summaryrefslogtreecommitdiffstats
path: root/runtime/task_finder.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-08-19 16:01:45 -0500
committerDavid Smith <dsmith@redhat.com>2009-08-19 16:01:45 -0500
commitb1e56041f6f6bee89b1d4a7fb2f76d48cb21fbf2 (patch)
tree0f97b621e5e93632cdfc391bc455032b7d72725d /runtime/task_finder.c
parent67e8280177ba8c812587685b66883bb1ea052af6 (diff)
downloadsystemtap-steved-b1e56041f6f6bee89b1d4a7fb2f76d48cb21fbf2.tar.gz
systemtap-steved-b1e56041f6f6bee89b1d4a7fb2f76d48cb21fbf2.tar.xz
systemtap-steved-b1e56041f6f6bee89b1d4a7fb2f76d48cb21fbf2.zip
Updated with latest code.
* runtime/transport/ring_buffer.c (_stp_ring_buffer_disable_cpu): New function. (_stp_ring_buffer_enable_cpu): Ditto. (_stp_ring_buffer_cpu_disabled): Ditto. (_stp_ring_buffer_empty_cpu): Only checks online cpus (instead of all possible cpus). (_stp_find_next_event): Ditto. (_stp_ring_buffer_iterator_increment): Calls _stp_ring_buffer_disable_cpu()/_stp_ring_buffer_enable_cpu() around ring_buffer_* calls. (_stp_ring_buffer_consume): Ditto. (_stp_peek_next_event): Ditto. (_stp_buffer_iter_finish): New function. (_stp_buffer_iter_start): Ditto. (_stp_data_read_trace): Uses _stp_buffer_iter_start()/_stp_buffer_iter_finish(). (_stp_data_write_reserve): Checks to see if the cpu is disabled (with _stp_ring_buffer_cpu_disabled() before reserving memory. Uses _stp_buffer_iter_start()/_stp_buffer_iter_finish(). (_stp_transport_data_fs_init): Initializes buffer iterators.
Diffstat (limited to 'runtime/task_finder.c')
0 files changed, 0 insertions, 0 deletions