From: compudj Date: Fri, 11 Nov 2005 18:05:12 +0000 (+0000) Subject: gentest improvments X-Git-Tag: v0.12.20~2168 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=dc7da6038247cabf3a7206d70d24e9176e7a3aeb;p=lttv.git gentest improvments git-svn-id: http://ltt.polymtl.ca/svn@1321 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent-new/gentest.c b/genevent-new/gentest.c index cfb6c73a..a1446007 100644 --- a/genevent-new/gentest.c +++ b/genevent-new/gentest.c @@ -429,6 +429,7 @@ void test() size_t size = lttng_get_size_mystruct(&test); size_t align = lttng_get_alignment_mystruct(&test); + /* the buffer is allocated on arch_size alignment */ void *buf = malloc(align + size); size_t to = 0; void *from = &test;