]> sourceware.org Git - systemtap.git/commit
Updated with latest code.
authorDavid Smith <dsmith@redhat.com>
Wed, 19 Aug 2009 21:01:45 +0000 (16:01 -0500)
committerDavid Smith <dsmith@redhat.com>
Wed, 19 Aug 2009 21:01:45 +0000 (16:01 -0500)
commitb1e56041f6f6bee89b1d4a7fb2f76d48cb21fbf2
tree0f97b621e5e93632cdfc391bc455032b7d72725d
parent67e8280177ba8c812587685b66883bb1ea052af6
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.
runtime/transport/ring_buffer.c
This page took 0.028269 seconds and 5 git commands to generate.