"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ringbuffer/frontend_api.h" between
lttng-modules-2.13.2.tar.bz2 and lttng-modules-2.13.3.tar.bz2

About: LTTng-modules (Linux Trace Toolkit Next Generation) is a system software package for correlated tracing of the Linux kernel, applications and libraries: This package contains the Linux kernel tracing modules.

frontend_api.h  (lttng-modules-2.13.2.tar.bz2):frontend_api.h  (lttng-modules-2.13.3.tar.bz2)
skipping to change at line 283 skipping to change at line 283
* - Reading a commit_count with a higher value that what was actually * - Reading a commit_count with a higher value that what was actually
* added to it for the lib_ring_buffer_write_commit_counter call * added to it for the lib_ring_buffer_write_commit_counter call
* (again caused by a concurrent committer). It does not matter, * (again caused by a concurrent committer). It does not matter,
* because this function is interested in the fact that the commit * because this function is interested in the fact that the commit
* count reaches back the reserve offset for a specific sub-buffer, * count reaches back the reserve offset for a specific sub-buffer,
* which is completely independent of the order. * which is completely independent of the order.
*/ */
commit_count = v_read(config, &cc_hot->cc); commit_count = v_read(config, &cc_hot->cc);
lib_ring_buffer_check_deliver(config, buf, chan, offset_end - 1, lib_ring_buffer_check_deliver(config, buf, chan, offset_end - 1,
commit_count, endidx, ctx->priv.tsc); commit_count, endidx, ctx);
/* /*
* Update used size at each commit. It's needed only for extracting * Update used size at each commit. It's needed only for extracting
* ring_buffer buffers from vmcore, after crash. * ring_buffer buffers from vmcore, after crash.
*/ */
lib_ring_buffer_write_commit_counter(config, buf, chan, lib_ring_buffer_write_commit_counter(config, buf, chan,
offset_end, commit_count, cc_hot); offset_end, commit_count, cc_hot);
} }
/** /**
* lib_ring_buffer_try_discard_reserve - Try discarding a record. * lib_ring_buffer_try_discard_reserve - Try discarding a record.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)