In command line, I use “babeltrace2 net://somehost/some-session” to read live
lttng session trace, and I want to use python bindings to do the same, is it
possible?
here is my code:
import bt2
import sys
# Create an empty graph.
graph = bt2.Graph()
# Add a `source.text.dmesg` component.
#
#
On 2022-08-13 19 h 10, Elad Lahav via lttng-dev wrote:
Hello,
I have just downloaded and built the library for QNX/aarch64 and
noticed that the code in compat-smp.h breaks the build. This file
appears to be a (very) recent addition, from this commit:
---
commit 5cfe81b7ddff9543d451746de9965cac5
On 2022-08-15 10 h 04, Elad Lahav wrote:
The problem is the use of d_type as a member of the dirent structure.
POSIX does not define such a member.
I can provide the necessary code for getting the file type in a
readdir() loop on QNX, but it seems unnecessary given that there is no
/sys file syst
That fixes the build, thanks.
I see some errors coming out of "make check", though:
ERROR: test_get_cpu_mask_from_sysfs - missing test plan
ERROR: test_get_cpu_mask_from_sysfs - exited with status 1
--Elad
On Mon, 15 Aug 2022 at 11:55, Michael Jeanson wrote:
>
> On 2022-08-15 10 h 04, Elad Lah
On 2022-08-15 12 h 56, Elad Lahav wrote:
That fixes the build, thanks.
I see some errors coming out of "make check", though:
ERROR: test_get_cpu_mask_from_sysfs - missing test plan
ERROR: test_get_cpu_mask_from_sysfs - exited with status 1
--Elad
I tested on Freebsd (as a non-linux target) a
/bin/sh on QNX is (by default) ksh, not bash, so perhaps that's the issue.
Shouldn't block you from submitting that change. +1 from me, if that matters ;-)
--Elad
On Mon, 15 Aug 2022 at 13:39, Michael Jeanson wrote:
>
> On 2022-08-15 12 h 56, Elad Lahav wrote:
> > That fixes the build, thanks.
On Sun, Aug 14, 2022 at 4:48 AM zenan wrote:
>
> In command line, I use “babeltrace2 net://somehost/some-session” to read live
> lttng session trace, and I want to use python bindings to do the same, is it
> possible?
>
> here is my code:
Almost there.
Some `src.ctf.lttng-live` component and m