projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make API CTF-agnostic
[babeltrace.git]
/
plugins
/
ctf
/
fs-src
/
data-stream-file.h
diff --git
a/plugins/ctf/fs-src/data-stream-file.h
b/plugins/ctf/fs-src/data-stream-file.h
index 093f360bc8892694d1f0f51a5be305a7e7e2561f..075b8293ab7ca59a3469ace1c9f2cf96d640b6a6 100644
(file)
--- a/
plugins/ctf/fs-src/data-stream-file.h
+++ b/
plugins/ctf/fs-src/data-stream-file.h
@@
-81,10
+81,18
@@
struct ctf_fs_ds_file_info {
GString *path;
/* Guaranteed to be set, as opposed to the index. */
GString *path;
/* Guaranteed to be set, as opposed to the index. */
-
u
int64_t begin_ns;
+ int64_t begin_ns;
};
};
+struct ctf_fs_metadata;
+
struct ctf_fs_ds_file {
struct ctf_fs_ds_file {
+ /* Weak */
+ struct ctf_fs_metadata *metadata;
+
+ /* Weak */
+ struct bt_private_connection_private_notification_iterator *pc_notif_iter;
+
/* Owned by this */
struct ctf_fs_file *file;
/* Owned by this */
struct ctf_fs_file *file;
@@
-123,11
+131,12
@@
struct ctf_fs_ds_file {
BT_HIDDEN
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
BT_HIDDEN
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
+ struct bt_private_connection_private_notification_iterator *pc_notif_iter,
struct bt_notif_iter *notif_iter,
struct bt_stream *stream, const char *path);
BT_HIDDEN
struct bt_notif_iter *notif_iter,
struct bt_stream *stream, const char *path);
BT_HIDDEN
-int ctf_fs_ds_file_
get
_packet_header_context_fields(
+int ctf_fs_ds_file_
borrow
_packet_header_context_fields(
struct ctf_fs_ds_file *ds_file,
struct bt_field **packet_header_field,
struct bt_field **packet_context_field);
struct ctf_fs_ds_file *ds_file,
struct bt_field **packet_header_field,
struct bt_field **packet_context_field);
@@
-136,8
+145,9
@@
BT_HIDDEN
void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
BT_HIDDEN
void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
BT_HIDDEN
-struct bt_notification_iterator_next_method_return ctf_fs_ds_file_next(
- struct ctf_fs_ds_file *stream);
+enum bt_notification_iterator_status ctf_fs_ds_file_next(
+ struct ctf_fs_ds_file *ds_file,
+ struct bt_notification **notif);
BT_HIDDEN
struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(
BT_HIDDEN
struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(
This page took
0.025516 seconds
and
4
git commands to generate.