projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: access to declaration from declaration_field
[babeltrace.git]
/
formats
/
ctf
/
ctf.c
diff --git
a/formats/ctf/ctf.c
b/formats/ctf/ctf.c
index 272e8c45f4a6dc22270e6e7286bc64b723f448be..f43fe91789d21d109c0adf407a0b7e951201ca39 100644
(file)
--- a/
formats/ctf/ctf.c
+++ b/
formats/ctf/ctf.c
@@
-551,15
+551,6
@@
error:
void ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags)
{
pos->fd = fd;
void ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags)
{
pos->fd = fd;
- pos->mmap_offset = 0;
- pos->packet_size = 0;
- pos->content_size = 0;
- pos->content_size_loc = NULL;
- pos->base_mma = NULL;
- pos->offset = 0;
- pos->dummy = false;
- pos->cur_index = 0;
- pos->packet_real_index = NULL;
if (fd >= 0) {
pos->packet_cycles_index = g_array_new(FALSE, TRUE,
sizeof(struct packet_index));
if (fd >= 0) {
pos->packet_cycles_index = g_array_new(FALSE, TRUE,
sizeof(struct packet_index));
@@
-1526,7
+1517,7
@@
int ctf_open_file_stream_read(struct ctf_trace *td, const char *path, int flags,
if (ret)
goto error_def;
/*
if (ret)
goto error_def;
/*
- * For now, only a single
slock
is supported.
+ * For now, only a single
clock per trace
is supported.
*/
file_stream->parent.current_clock = td->single_clock;
ret = create_stream_packet_index(td, file_stream);
*/
file_stream->parent.current_clock = td->single_clock;
ret = create_stream_packet_index(td, file_stream);
@@
-1755,7
+1746,7
@@
int ctf_open_mmap_stream_read(struct ctf_trace *td,
goto error_index;
/*
goto error_index;
/*
- * For now, only a single
slock
is supported.
+ * For now, only a single
clock per trace
is supported.
*/
file_stream->parent.current_clock = td->single_clock;
*/
file_stream->parent.current_clock = td->single_clock;
This page took
0.024358 seconds
and
4
git commands to generate.