From: compudj Date: Fri, 11 Nov 2005 21:13:14 +0000 (+0000) Subject: sequence size realign on arch size X-Git-Tag: v0.12.20~2161 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5ec61509daa3055695a9b7dce0299ab4e5852194;p=lttv.git sequence size realign on arch size git-svn-id: http://ltt.polymtl.ca/svn@1328 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent-new/gentest.c b/genevent-new/gentest.c index 1dc4503d..b2678dab 100644 --- a/genevent-new/gentest.c +++ b/genevent-new/gentest.c @@ -169,6 +169,10 @@ static inline size_t lttng_get_size_sequence_mystruct_mysequence( locsize = sizeof(double); size += ltt_align(size, locsize) + (obj->len * locsize); + /* Realign on arch size */ + locsize = sizeof(void *); + size += ltt_align(size, locsize); + return size; }