X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=libust%2Fbuffers.h;h=951c9b01bddf64432a543a9ab0d0321e4e8516b7;hb=8c36d1ee4e2c77783f6edfdd49f2d812afdd3f67;hp=bff3ed54ba2f2eb4c06192c283f6aa3f6e68bd13;hpb=e17571a59eef2b054c7432f6cba10c2cb467a182;p=ust.git diff --git a/libust/buffers.h b/libust/buffers.h index bff3ed5..951c9b0 100644 --- a/libust/buffers.h +++ b/libust/buffers.h @@ -413,9 +413,9 @@ static __inline__ void ltt_force_switch(struct ust_buffer *buf, /* * for flight recording. must be called after relay_commit. - * This function decrements de subbuffer's lost_size each time the commit count - * reaches back the reserve offset (module subbuffer size). It is useful for - * crash dump. + * This function increments the subbuffers's commit_seq counter each time the + * commit count reaches back the reserve offset (module subbuffer size). It is + * useful for crash dump. */ #ifdef CONFIG_LTT_VMCORE static __inline__ void ltt_write_commit_counter(struct rchan_buf *buf, @@ -501,7 +501,7 @@ static __inline__ void ltt_commit_slot( ltt_check_deliver(chan, buf, offset_end - 1, commit_count, endidx); /* - * Update lost_size for each commit. It's needed only for extracting + * Update data_size for each commit. It's needed only for extracting * ltt buffers from vmcore, after crash. */ ltt_write_commit_counter(buf, endidx, buf_offset, commit_count, data_size);