projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start of bt_component_factory implementation
[babeltrace.git]
/
formats
/
lttng-live
/
lttng-live-comm.c
diff --git
a/formats/lttng-live/lttng-live-comm.c
b/formats/lttng-live/lttng-live-comm.c
index fef374a381c2b4aa685f418b30bcd3ebc82b8a91..6c5d4fd296f55fc9f23f4bba506432c3889f367c 100644
(file)
--- a/
formats/lttng-live/lttng-live-comm.c
+++ b/
formats/lttng-live/lttng-live-comm.c
@@
-53,22
+53,13
@@
#include <babeltrace/compat/send.h>
#include <babeltrace/compat/string.h>
#include <babeltrace/compat/mman.h>
#include <babeltrace/compat/send.h>
#include <babeltrace/compat/string.h>
#include <babeltrace/compat/mman.h>
+#include <babeltrace/babeltrace-internal.h>
#include "lttng-live.h"
#include "lttng-viewer-abi.h"
#define ACTIVE_POLL_DELAY 100 /* ms */
#include "lttng-live.h"
#include "lttng-viewer-abi.h"
#define ACTIVE_POLL_DELAY 100 /* ms */
-/*
- * Memory allocation zeroed
- */
-#define zmalloc(x) calloc(1, x)
-
-#ifndef max_t
-#define max_t(type, a, b) \
- ((type) (a) > (type) (b) ? (type) (a) : (type) (b))
-#endif
-
static void ctf_live_packet_seek(struct bt_stream_pos *stream_pos,
size_t index, int whence);
static int add_traces(struct lttng_live_ctx *ctx);
static void ctf_live_packet_seek(struct bt_stream_pos *stream_pos,
size_t index, int whence);
static int add_traces(struct lttng_live_ctx *ctx);
This page took
0.0232 seconds
and
4
git commands to generate.