gentest improvments
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 11 Nov 2005 18:05:12 +0000 (18:05 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 11 Nov 2005 18:05:12 +0000 (18:05 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1321 04897980-b3bd-0310-b5e0-8ef037075253

genevent-new/gentest.c

index cfb6c73a705d110b4c3d0b92f49a34fea73e042c..a14460074e5440bfb48a16dd8484ea5ef3d73cfd 100644 (file)
@@ -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;
This page took 0.024138 seconds and 4 git commands to generate.