X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fmsgpack.h;h=0d19518dd46b0c1d24eb0402733ec039be68438b;hb=d1fea60895526d461646b2918eb53bed2f40b6eb;hp=0c63f1ba869d3b41eb95a7477cf8ab354c437f1a;hpb=5987e66c2cba50425d775ce587dd763244373e16;p=lttng-modules.git diff --git a/include/lttng/msgpack.h b/include/lttng/msgpack.h index 0c63f1ba..0d19518d 100644 --- a/include/lttng/msgpack.h +++ b/include/lttng/msgpack.h @@ -50,10 +50,15 @@ int lttng_msgpack_write_signed_integer( struct lttng_msgpack_writer *writer, int64_t value); int lttng_msgpack_write_str(struct lttng_msgpack_writer *writer, const char *value); +int lttng_msgpack_write_user_str(struct lttng_msgpack_writer *writer, + const char __user *value); int lttng_msgpack_begin_map(struct lttng_msgpack_writer *writer, size_t count); int lttng_msgpack_end_map(struct lttng_msgpack_writer *writer); int lttng_msgpack_begin_array( struct lttng_msgpack_writer *writer, size_t count); int lttng_msgpack_end_array(struct lttng_msgpack_writer *writer); +int lttng_msgpack_save_writer_pos(struct lttng_msgpack_writer *writer, uint8_t **pos); +int lttng_msgpack_restore_writer_pos(struct lttng_msgpack_writer *writer, uint8_t *pos); + #endif /* _LTTNG_KERNEL_MSGPACK_H */