[lttng-dev] [LTTNG-TOOLS PATCH v4] ABI with support for compat 32/64 bits
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Mon Oct 1 17:27:16 EDT 2012
* Julien Desfossez (jdesfossez at efficios.com) wrote:
[...]
> +#define LTTNG_KERNEL_CHANNEL_PADDING1 LTTNG_SYMBOL_NAME_LEN + 32
> +struct lttng_kernel_channel {
> + uint64_t subbuf_size; /* bytes */
> + uint64_t num_subbuf; /* power of 2 */
> + unsigned int switch_timer_interval; /* usec */
> + unsigned int read_timer_interval; /* usec */
->
> + int overwrite; /* 1: overwrite, 0: discard */
> + enum lttng_event_output output; /* splice, mmap */
field order mismatch with lttng-modules. Please re-review all structures
between modules and tools headers.
Thanks,
Mathieu
> +
> + char padding[LTTNG_KERNEL_CHANNEL_PADDING1];
> +}__attribute__((packed));
>
> #endif /* _LTTNG_KERNEL_H */
> --
> 1.7.9.5
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list