projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename ctf_stream_event to ctf_event_definition
[babeltrace.git]
/
formats
/
ctf-text
/
ctf-text.c
diff --git
a/formats/ctf-text/ctf-text.c
b/formats/ctf-text/ctf-text.c
index 62cb5310092dce9dcdbbc1f28673a11bd7259bbe..a4316e8fd6d0fccf37f03fa021c2bd3a1380f5b9 100644
(file)
--- a/
formats/ctf-text/ctf-text.c
+++ b/
formats/ctf-text/ctf-text.c
@@
-22,8
+22,8
@@
#include <babeltrace/ctf-text/types.h>
#include <babeltrace/ctf/metadata.h>
#include <babeltrace/babeltrace-internal.h>
#include <babeltrace/ctf-text/types.h>
#include <babeltrace/ctf/metadata.h>
#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/ctf/events-internal.h>
#include <inttypes.h>
#include <inttypes.h>
-#include <uuid/uuid.h>
#include <sys/mman.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <errno.h>
#include <sys/types.h>
@@
-76,7
+76,7
@@
enum bt_loglevel {
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
- void (*packet_seek)(struct stream_pos *pos, size_t
offset
,
+ void (*packet_seek)(struct stream_pos *pos, size_t
index
,
int whence), FILE *metadata_fp);
void ctf_text_close_trace(struct trace_descriptor *descriptor);
int whence), FILE *metadata_fp);
void ctf_text_close_trace(struct trace_descriptor *descriptor);
@@
-211,15
+211,15
@@
const char *print_loglevel(int value)
}
static
}
static
-int ctf_text_write_event(struct stream_pos *ppos,
- struct ctf_stream *stream)
+int ctf_text_write_event(struct stream_pos *ppos,
struct ctf_stream *stream)
+
{
struct ctf_text_stream_pos *pos =
container_of(ppos, struct ctf_text_stream_pos, parent);
{
struct ctf_text_stream_pos *pos =
container_of(ppos, struct ctf_text_stream_pos, parent);
- struct ctf_stream_
class
*stream_class = stream->stream_class;
+ struct ctf_stream_
declaration
*stream_class = stream->stream_class;
int field_nr_saved;
struct ctf_event *event_class;
int field_nr_saved;
struct ctf_event *event_class;
- struct ctf_
stream_event
*event;
+ struct ctf_
event_definition
*event;
uint64_t id;
int ret;
int dom_print = 0;
uint64_t id;
int ret;
int dom_print = 0;
@@
-459,7
+459,7
@@
error:
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
- void (*packet_seek)(struct stream_pos *pos, size_t
offset
,
+ void (*packet_seek)(struct stream_pos *pos, size_t
index
,
int whence), FILE *metadata_fp)
{
struct ctf_text_stream_pos *pos;
int whence), FILE *metadata_fp)
{
struct ctf_text_stream_pos *pos;
This page took
0.023847 seconds
and
4
git commands to generate.