Problems with arrays of floats (lttng 2.13)
Kienan Stewart
kstewart at efficios.com
Fri May 9 11:10:38 EDT 2025
Hi Herman,
On 5/9/25 6:03 AM, Herman Bruyninckx via lttng-dev wrote:
> Dear all,
>
> I want to trace an array of floats, but I always get bogus output at the
> (Python) Babeltrace2 site...
could you give an example of the tracepoint you have setup in your code
that doesn't work, with the corresponding output?
Could you explain what you mean by (Python) babeltrace2 site?
Are you instrumenting python code, or are you instrumenting a C/C++
application with lttng-ust?
> I have no problems with arrays of integers, though.
>
> Is the float array feature not yet implemented in lttng 2.13?
> Will it be in 2.14? (Also the "BLOB" feature is useful for me.)
>
I don't see any changes in lttng-ust for 2.14 that allow for tracepoints
that have float arrays or blobs. lttng-modules 2.14 does add support for
CTF 2. The support for CTF 2 in lttng-tools 2.14 will remain at an
experimental level.
From the release notes:
CTF 2 output isn't enabled by default and is intended solely for
preview and feedback purposes: having an experimental support will
allow users to test and evaluate CTF 2 until we make it the
default output format.
> Thanks for your help.
>
> Herman
thanks,
kienan
[1]:
https://git.lttng.org/?p=lttng-tools.git;a=blob_plain;f=ChangeLog;hb=11f963148df9597de6d891d96d748bae5ced7149
More information about the lttng-dev
mailing list