I believe this is missing. Fixes this error when doing
$ make install DESTDIR=/tmp/lttng-ust2
make[1]: Entering directory
'/home/simark/src/lttng-ust/liblttng-ust-python-agent'
if [ "/tmp/lttng-ust2" = "" ]; then \
/usr/bin/python setup.py install --prefix=/tmp/lttng-ust --record
s_trace1 created.
+ ssh trace1@128.224.95.181 'lttng list'
Available tracing sessions:
1) s_trace1 (/home/trace1/lttng-traces/s_trace1-20151013-142106)
[inactive]
Trace path: /home/trace1/lttng-traces/s_trace1-20151013-142106
Use lttng list for more details
+ ssh root@128.224.95.181 'lttng
Packet seek has been removed from ctf helper headers somewhere around
Babeltrace 1.1. Since then, babeltrace-log is broken when it needs to
output a file larger than the fixed-sized packet (WRITE_PACKET_LEN
currently defined as (getpagesize() * 8 * CHAR_BIT).
Correctly handle the non-zero return
Signed-off-by: Michael Jeanson
---
formats/ctf/ctf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c
index 74fcb5b..19f61b5 100644
--- a/formats/ctf/ctf.c
+++ b/formats/ctf/ctf.c
@@ -906,7 +906,7 @@ void
Signed-off-by: Mathieu Desnoyers
---
formats/ctf/ctf.c | 9 +
formats/ctf/ir/event-fields.c | 8 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c
index 8236b6e..757fa85 100644
---
It works by accident because getline() reallocates based on the initial
pointer, but doing this falls into a blind spot of the Linux man pages.
Signed-off-by: Mathieu Desnoyers
---
converter/babeltrace-log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Implement our own getline to remove dependency from glibc 2.10+ and to
increase portability to other operating systems.
Signed-off-by: Mathieu Desnoyers
---
converter/babeltrace-log.c | 5 ++---
tests/lib/test_ctf_writer.c | 7 ---
2 files changed, 6
Implement our own getline to remove dependency from glibc 2.10+ and to
increase portability to other operating systems.
Signed-off-by: Mathieu Desnoyers
---
converter/babeltrace-log.c| 5 +-
include/babeltrace/compat/stdio.h | 124
It works by accident because getline() reallocates based on the initial
pointer, but doing this falls into a blind spot of the Linux man pages.
Signed-off-by: Mathieu Desnoyers
---
converter/babeltrace-log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)