projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin: compile lttng as C++
[lttng-tools.git]
/
src
/
common
/
snapshot.h
diff --git
a/src/common/snapshot.h
b/src/common/snapshot.h
index 95a63e13b42e0d1995ef9b70e6ac99107a41b77b..7395c04d1c7e30731cfbd855a0ca59a08118ee10 100644
(file)
--- a/
src/common/snapshot.h
+++ b/
src/common/snapshot.h
@@
-11,27
+11,29
@@
#include <common/macros.h>
#include <stdbool.h>
#include <common/macros.h>
#include <stdbool.h>
+#include <sys/types.h>
-struct lttng_
buffer
_view;
-struct lttng_
dynamic_buffer
;
+struct lttng_
payload
_view;
+struct lttng_
payload
;
struct lttng_snapshot_output;
struct lttng_snapshot_output;
+struct mi_writer;
-LTTNG_HIDDEN
bool lttng_snapshot_output_validate(const struct lttng_snapshot_output *output);
bool lttng_snapshot_output_validate(const struct lttng_snapshot_output *output);
-LTTNG_HIDDEN
bool lttng_snapshot_output_is_equal(
const struct lttng_snapshot_output *a,
const struct lttng_snapshot_output *b);
bool lttng_snapshot_output_is_equal(
const struct lttng_snapshot_output *a,
const struct lttng_snapshot_output *b);
-LTTNG_HIDDEN
int lttng_snapshot_output_serialize(
const struct lttng_snapshot_output *output,
int lttng_snapshot_output_serialize(
const struct lttng_snapshot_output *output,
- struct lttng_
dynamic_buffer *buf
);
+ struct lttng_
payload *payload
);
-LTTNG_HIDDEN
-ssize_t lttng_snapshot_output_create_from_buffer(
- const struct lttng_buffer_view *view,
+ssize_t lttng_snapshot_output_create_from_payload(
+ struct lttng_payload_view *view,
struct lttng_snapshot_output **output_p);
struct lttng_snapshot_output **output_p);
+enum lttng_error_code lttng_snapshot_output_mi_serialize(
+ const struct lttng_snapshot_output *output,
+ struct mi_writer *writer);
+
#endif /* COMMON_SNAPSHOT_H */
#endif /* COMMON_SNAPSHOT_H */
This page took
0.039983 seconds
and
4
git commands to generate.