#include "trace.h"
#include "writer.h"
-BT_HIDDEN
void bt_ctf_stream_common_finalize(struct bt_ctf_stream_common *stream)
{
BT_LOGD("Finalizing common stream object: addr=%p, name=\"%s\"",
}
}
-BT_HIDDEN
int bt_ctf_stream_common_initialize(
struct bt_ctf_stream_common *stream,
struct bt_ctf_stream_class_common *stream_class, const char *name,
return ret;
}
-BT_HIDDEN
struct bt_ctf_stream *bt_ctf_stream_create_with_id(
struct bt_ctf_stream_class *stream_class,
const char *name, uint64_t id)
return stream;
}
+BT_EXPORT
struct bt_ctf_stream *bt_ctf_stream_create(
struct bt_ctf_stream_class *stream_class,
const char *name, uint64_t id_param)
name, id_param);
}
+BT_EXPORT
int bt_ctf_stream_get_discarded_events_count(
struct bt_ctf_stream *stream, uint64_t *count)
{
return ret;
}
+BT_EXPORT
void bt_ctf_stream_append_discarded_events(struct bt_ctf_stream *stream,
uint64_t event_count)
{
return ret;
}
+BT_EXPORT
int bt_ctf_stream_append_event(struct bt_ctf_stream *stream,
struct bt_ctf_event *event)
{
return ret;
}
+BT_EXPORT
struct bt_ctf_field *bt_ctf_stream_get_packet_context(struct bt_ctf_stream *stream)
{
struct bt_ctf_field *packet_context = NULL;
return packet_context;
}
+BT_EXPORT
int bt_ctf_stream_set_packet_context(struct bt_ctf_stream *stream,
struct bt_ctf_field *field)
{
return ret;
}
+BT_EXPORT
struct bt_ctf_field *bt_ctf_stream_get_packet_header(struct bt_ctf_stream *stream)
{
struct bt_ctf_field *packet_header = NULL;
return packet_header;
}
+BT_EXPORT
int bt_ctf_stream_set_packet_header(struct bt_ctf_stream *stream,
struct bt_ctf_field *field)
{
}
}
+BT_EXPORT
int bt_ctf_stream_flush(struct bt_ctf_stream *stream)
{
int ret = 0;
return _set_structure_field_integer(structure, name, value, BT_CTF_FALSE);
}
+BT_EXPORT
struct bt_ctf_stream_class *bt_ctf_stream_get_class(
struct bt_ctf_stream *stream)
{
return bt_ctf_object_get_ref(bt_ctf_stream_common_borrow_class(BT_CTF_TO_COMMON(stream)));
}
+BT_EXPORT
const char *bt_ctf_stream_get_name(struct bt_ctf_stream *stream)
{
return bt_ctf_stream_common_get_name(BT_CTF_TO_COMMON(stream));
}
+BT_EXPORT
int64_t bt_ctf_stream_get_id(struct bt_ctf_stream *stream)
{
return bt_ctf_stream_common_get_id(BT_CTF_TO_COMMON(stream));