Drop 'linux/perf_events.h' wrapper
[lttng-modules.git] / include / lttng / msgpack.h
index 0c63f1ba869d3b41eb95a7477cf8ab354c437f1a..0d19518dd46b0c1d24eb0402733ec039be68438b 100644 (file)
@@ -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 */
This page took 0.023226 seconds and 4 git commands to generate.