projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update
[lttv.git]
/
genevent-new
/
gentest.c
diff --git
a/genevent-new/gentest.c
b/genevent-new/gentest.c
index 67556797628c5f91476c439420bbd2016e480e27..753ac4d7895663e5d0b668ce059fde17e1d9ebbb 100644
(file)
--- a/
genevent-new/gentest.c
+++ b/
genevent-new/gentest.c
@@
-322,6
+322,8
@@
static inline void lttng_write_mystruct_myunion(
}
*len += size;
}
*len += size;
+
+ /* Assert : no varlen child. */
}
}
@@
-428,9
+430,9
@@
static inline void lttng_write_mystruct(
/* Variable length field */
lttng_write_sequence_mystruct_mysequence(buffer, to_base, to, from, len, &obj->mysequence);
/* Variable length field */
lttng_write_sequence_mystruct_mysequence(buffer, to_base, to, from, len, &obj->mysequence);
- /* After this previous write, we are sure that *to is 0,
and *to_base is
- *
aligned on the architecture size : to rest of alignment will be calculated
- * statically. */
+ /* After this previous write, we are sure that *to is 0,
*len is 0 and
+ *
*to_base is aligned on the architecture size : to rest of alignment will
+ *
be calculated
statically. */
lttng_write_mystruct_myunion(buffer, to_base, to, from, len, &obj->myunion);
lttng_write_mystruct_myunion(buffer, to_base, to, from, len, &obj->myunion);
This page took
0.022254 seconds
and
4
git commands to generate.