projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: handle 'size_t' / 'off_t' on Solaris
[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 0ca01a61606f67c5d831c7568bc42bc2dbf58916..b49a32f683e93bce72ba7c2072153a363553aa3f 100644
(file)
--- a/
plugins/ctf/fs-src/data-stream-file.c
+++ b/
plugins/ctf/fs-src/data-stream-file.c
@@
-110,9
+110,9
@@
enum bt_ctf_notif_iter_medium_status ds_file_mmap_next(
PROT_READ, MAP_PRIVATE, fileno(ds_file->file->fp),
ds_file->mmap_offset);
if (ds_file->mmap_addr == MAP_FAILED) {
PROT_READ, MAP_PRIVATE, fileno(ds_file->file->fp),
ds_file->mmap_offset);
if (ds_file->mmap_addr == MAP_FAILED) {
- BT_LOGE("Cannot memory-map address (size %zu) of file \"%s\" (%p) at offset %
zu
: %s",
+ BT_LOGE("Cannot memory-map address (size %zu) of file \"%s\" (%p) at offset %
jd
: %s",
ds_file->mmap_len, ds_file->file->path->str,
ds_file->mmap_len, ds_file->file->path->str,
- ds_file->file->fp, ds_file->mmap_offset,
+ ds_file->file->fp,
(intmax_t)
ds_file->mmap_offset,
strerror(errno));
goto error;
}
strerror(errno));
goto error;
}
@@
-176,7
+176,8
@@
end:
static
struct bt_ctf_stream *medop_get_stream(
static
struct bt_ctf_stream *medop_get_stream(
- struct bt_ctf_stream_class *stream_class, void *data)
+ struct bt_ctf_stream_class *stream_class, uint64_t stream_id,
+ void *data)
{
struct ctf_fs_ds_file *ds_file = data;
struct bt_ctf_stream_class *ds_file_stream_class;
{
struct ctf_fs_ds_file *ds_file = data;
struct bt_ctf_stream_class *ds_file_stream_class;
This page took
0.023733 seconds
and
4
git commands to generate.