"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/ringbuffer/frontend.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.h  (lttng-modules-2.13.2.tar.bz2):frontend.h  (lttng-modules-2.13.3.tar.bz2)
skipping to change at line 203 skipping to change at line 203
static inline static inline
unsigned long lib_ring_buffer_get_records_overrun( unsigned long lib_ring_buffer_get_records_overrun(
const struct lttng_kernel_ring_buffer_config *con fig, const struct lttng_kernel_ring_buffer_config *con fig,
struct lttng_kernel_ring_buffer *buf) struct lttng_kernel_ring_buffer *buf)
{ {
return v_read(config, &buf->records_overrun); return v_read(config, &buf->records_overrun);
} }
static inline static inline
unsigned long lib_ring_buffer_get_records_lost_full( unsigned long lib_ring_buffer_get_records_lost_full(
const struct lttng_kernel_ring_buffer_config *con const struct lttng_kernel_ring_buffer_config *con
fig, fig __attribute__((unused)),
struct lttng_kernel_ring_buffer *buf) const struct lttng_kernel_ring_buffer_ctx *ctx)
{ {
return v_read(config, &buf->records_lost_full); return ctx->priv.records_lost_full;
} }
static inline static inline
unsigned long lib_ring_buffer_get_records_lost_wrap( unsigned long lib_ring_buffer_get_records_lost_wrap(
const struct lttng_kernel_ring_buffer_config *con const struct lttng_kernel_ring_buffer_config *con
fig, fig __attribute__((unused)),
struct lttng_kernel_ring_buffer *buf) const struct lttng_kernel_ring_buffer_ctx *ctx)
{ {
return v_read(config, &buf->records_lost_wrap); return ctx->priv.records_lost_wrap;
} }
static inline static inline
unsigned long lib_ring_buffer_get_records_lost_big( unsigned long lib_ring_buffer_get_records_lost_big(
const struct lttng_kernel_ring_buffer_config *con const struct lttng_kernel_ring_buffer_config *con
fig, fig __attribute__((unused)),
struct lttng_kernel_ring_buffer *buf) const struct lttng_kernel_ring_buffer_ctx *ctx)
{ {
return v_read(config, &buf->records_lost_big); return ctx->priv.records_lost_big;
} }
static inline static inline
unsigned long lib_ring_buffer_get_records_read( unsigned long lib_ring_buffer_get_records_read(
const struct lttng_kernel_ring_buffer_config *con fig, const struct lttng_kernel_ring_buffer_config *con fig,
struct lttng_kernel_ring_buffer *buf) struct lttng_kernel_ring_buffer *buf)
{ {
return v_read(config, &buf->backend.records_read); return v_read(config, &buf->backend.records_read);
} }
 End of changes. 6 change blocks. 
12 lines changed or deleted 12 lines changed or added

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