projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make trace IR API const-correct
[babeltrace.git]
/
plugins
/
ctf
/
fs-src
/
data-stream-file.c
diff --git
a/plugins/ctf/fs-src/data-stream-file.c
b/plugins/ctf/fs-src/data-stream-file.c
index f700b02ffffec2a96f85584ddcb42cd328c68bc8..d046b0dfd679eb55e011f03980fd26dd1d9484be 100644
(file)
--- a/
plugins/ctf/fs-src/data-stream-file.c
+++ b/
plugins/ctf/fs-src/data-stream-file.c
@@
-173,15
+173,15
@@
end:
}
static
}
static
-struct bt_
private_
stream *medop_borrow_stream(
- struct bt_
private_
stream_class *stream_class, int64_t stream_id,
+struct bt_stream *medop_borrow_stream(
+ struct bt_stream_class *stream_class, int64_t stream_id,
void *data)
{
struct ctf_fs_ds_file *ds_file = data;
void *data)
{
struct ctf_fs_ds_file *ds_file = data;
- struct bt_
private_
stream_class *ds_file_stream_class;
- struct bt_
private_
stream *stream = NULL;
+ struct bt_stream_class *ds_file_stream_class;
+ struct bt_stream *stream = NULL;
- ds_file_stream_class = bt_
private_
stream_borrow_class(
+ ds_file_stream_class = bt_stream_borrow_class(
ds_file->stream);
if (stream_class != ds_file_stream_class) {
ds_file->stream);
if (stream_class != ds_file_stream_class) {
@@
-293,11
+293,11
@@
struct ctf_fs_ds_index_entry *ctf_fs_ds_index_add_new_entry(
}
static
}
static
-int convert_cycles_to_ns(struct bt_
private_
clock_class *clock_class,
+int convert_cycles_to_ns(struct bt_clock_class *clock_class,
uint64_t cycles, int64_t *ns)
{
uint64_t cycles, int64_t *ns)
{
- return bt_clock_class_cycles_to_ns_from_origin(
-
bt_private_clock_class_as_clock_class(clock_class), cycles,
ns);
+ return bt_clock_class_cycles_to_ns_from_origin(
clock_class, cycles,
+
ns);
}
static
}
static
@@
-626,7
+626,7
@@
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
struct bt_self_notification_iterator *pc_notif_iter,
struct bt_notif_iter *notif_iter,
struct ctf_fs_trace *ctf_fs_trace,
struct bt_self_notification_iterator *pc_notif_iter,
struct bt_notif_iter *notif_iter,
- struct bt_
private_
stream *stream, const char *path)
+ struct bt_stream *stream, const char *path)
{
int ret;
const size_t page_size = bt_common_get_page_size();
{
int ret;
const size_t page_size = bt_common_get_page_size();
@@
-642,7
+642,8
@@
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
goto error;
}
goto error;
}
- ds_file->stream = bt_object_get_ref(stream);
+ ds_file->stream = stream;
+ bt_object_get_ref(ds_file->stream);
ds_file->metadata = ctf_fs_trace->metadata;
g_string_assign(ds_file->file->path, path);
ret = ctf_fs_file_open(ds_file->file, "rb");
ds_file->metadata = ctf_fs_trace->metadata;
g_string_assign(ds_file->file->path, path);
ret = ctf_fs_file_open(ds_file->file, "rb");
@@
-741,8
+742,8
@@
enum bt_notification_iterator_status ctf_fs_ds_file_next(
BT_HIDDEN
int ctf_fs_ds_file_borrow_packet_header_context_fields(
struct ctf_fs_ds_file *ds_file,
BT_HIDDEN
int ctf_fs_ds_file_borrow_packet_header_context_fields(
struct ctf_fs_ds_file *ds_file,
- struct bt_
private_
field **packet_header_field,
- struct bt_
private_
field **packet_context_field)
+ struct bt_field **packet_header_field,
+ struct bt_field **packet_context_field)
{
enum bt_notif_iter_status notif_iter_status;
int ret = 0;
{
enum bt_notif_iter_status notif_iter_status;
int ret = 0;
This page took
0.025412 seconds
and
4
git commands to generate.