projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API fix: packet_seek should take an index rather than offset
[babeltrace.git]
/
formats
/
bt-dummy
/
bt-dummy.c
diff --git
a/formats/bt-dummy/bt-dummy.c
b/formats/bt-dummy/bt-dummy.c
index 221b51ffe8d9e01f5af47d1dddfc7d78d17b6e36..e251ee7b80c22df13d9f89f6b8e6cc423997aa4d 100644
(file)
--- a/
formats/bt-dummy/bt-dummy.c
+++ b/
formats/bt-dummy/bt-dummy.c
@@
-18,7
+18,7
@@
#include <babeltrace/ctf-text/types.h>
#include <babeltrace/format.h>
#include <babeltrace/ctf-text/types.h>
#include <babeltrace/format.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace
-internal
.h>
#include <inttypes.h>
#include <uuid/uuid.h>
#include <sys/mman.h>
#include <inttypes.h>
#include <uuid/uuid.h>
#include <sys/mman.h>
@@
-39,7
+39,9
@@
int bt_dummy_write_event(struct stream_pos *ppos,
}
static
}
static
-struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags)
+struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags,
+ void (*packet_seek)(struct stream_pos *pos, size_t index,
+ int whence), FILE *metadata_fp)
{
struct ctf_text_stream_pos *pos;
{
struct ctf_text_stream_pos *pos;
This page took
0.039144 seconds
and
4
git commands to generate.