From: Mathieu Desnoyers Date: Mon, 17 Jan 2011 05:05:28 +0000 (-0500) Subject: Remove dependencies on old ltt-core.h header X-Git-Tag: v2.0-pre1~179 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9c5653d5c4507897704cf1ae3eb7daaf38ed624b;p=lttng-modules.git Remove dependencies on old ltt-core.h header Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-tracer-core.h b/ltt-tracer-core.h index c300e5d2..83debd9f 100644 --- a/ltt-tracer-core.h +++ b/ltt-tracer-core.h @@ -11,7 +11,6 @@ #include #include -#include #ifndef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS /* Align data on its natural alignment */ diff --git a/ltt-tracer.h b/ltt-tracer.h index 1ca13a99..84b3731f 100644 --- a/ltt-tracer.h +++ b/ltt-tracer.h @@ -273,7 +273,7 @@ unsigned char record_header_size(const struct lib_ring_buffer_config *config, offset += sizeof(u16) + sizeof(u16); if (data_size >= LTT_MAX_SMALL_SIZE) offset += sizeof(u32); - offset += ltt_align(offset, sizeof(u64)); + offset += lib_ring_buffer_align(offset, sizeof(u64)); offset += sizeof(u64); break; case LTT_RFLAG_ID_SIZE: