"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ringbuffer/config.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.

config.h  (lttng-modules-2.13.2.tar.bz2):config.h  (lttng-modules-2.13.3.tar.bz2)
skipping to change at line 47 skipping to change at line 47
struct lttng_kernel_ring_buffer_channel *ch an, size_t offset, struct lttng_kernel_ring_buffer_channel *ch an, size_t offset,
size_t *pre_header_padding, size_t *pre_header_padding,
struct lttng_kernel_ring_buffer_ctx *ctx, struct lttng_kernel_ring_buffer_ctx *ctx,
void *client_ctx); void *client_ctx);
/* Slow path only, at subbuffer switch */ /* Slow path only, at subbuffer switch */
size_t (*subbuffer_header_size) (void); size_t (*subbuffer_header_size) (void);
void (*buffer_begin) (struct lttng_kernel_ring_buffer *buf, u64 tsc, void (*buffer_begin) (struct lttng_kernel_ring_buffer *buf, u64 tsc,
unsigned int subbuf_idx); unsigned int subbuf_idx);
void (*buffer_end) (struct lttng_kernel_ring_buffer *buf, u64 tsc, void (*buffer_end) (struct lttng_kernel_ring_buffer *buf, u64 tsc,
unsigned int subbuf_idx, unsigned long data_size); unsigned int subbuf_idx, unsigned long data_size,
const struct lttng_kernel_ring_buffer_ctx *ctx);
/* Optional callbacks (can be set to NULL) */ /* Optional callbacks (can be set to NULL) */
/* Called at buffer creation/finalize */ /* Called at buffer creation/finalize */
int (*buffer_create) (struct lttng_kernel_ring_buffer *buf, void *priv, int (*buffer_create) (struct lttng_kernel_ring_buffer *buf, void *priv,
int cpu, const char *name); int cpu, const char *name);
/* /*
* Clients should guarantee that no new reader handle can be opened * Clients should guarantee that no new reader handle can be opened
* after finalize. * after finalize.
*/ */
skipping to change at line 187 skipping to change at line 188
unsigned long buf_offset; /* offset following the record he ader */ unsigned long buf_offset; /* offset following the record he ader */
unsigned long pre_offset; /* unsigned long pre_offset; /*
* Initial offset position _befor e_ * Initial offset position _befor e_
* the record is written. Positio ned * the record is written. Positio ned
* prior to record header alignme nt * prior to record header alignme nt
* padding. * padding.
*/ */
u64 tsc; /* time-stamp counter value */ u64 tsc; /* time-stamp counter value */
unsigned int rflags; /* reservation flags */ unsigned int rflags; /* reservation flags */
struct lttng_kernel_ring_buffer *buf; /* struct lttng_kernel_ring_buffer *buf; /*
* buffer corresponding to proces sor id * buffer corresponding to proces sor id
* for this channel * for this channel
*/ */
struct lttng_kernel_ring_buffer_backend_pages *backend_pages; struct lttng_kernel_ring_buffer_backend_pages *backend_pages;
/*
* Records lost counts are only loaded into these fields before
* reserving the last bytes from the ring buffer.
*/
unsigned long records_lost_full;
unsigned long records_lost_wrap;
unsigned long records_lost_big;
}; };
/* /*
* ring buffer context * ring buffer context
* *
* Context passed to lib_ring_buffer_reserve(), lib_ring_buffer_commit(), * Context passed to lib_ring_buffer_reserve(), lib_ring_buffer_commit(),
* lib_ring_buffer_try_discard_reserve(), lib_ring_buffer_align_ctx() and * lib_ring_buffer_try_discard_reserve(), lib_ring_buffer_align_ctx() and
* lib_ring_buffer_write(). * lib_ring_buffer_write().
*/ */
struct lttng_kernel_ring_buffer_ctx { struct lttng_kernel_ring_buffer_ctx {
 End of changes. 3 change blocks. 
2 lines changed or deleted 11 lines changed or added

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