General

Profile

JG Jérémie Galarneau

Issues

open closed Total
Assigned issues 16 37 53
Reported issues 22 56 78

Projects

Project Roles Registered on
Common Trace Format Developer 02/07/2023
LTTng Manager, Developer 04/09/2013
Babeltrace Developer 05/07/2013
LTTng-CI Manager, Developer 11/29/2017
LTTng-modules Developer 05/07/2013
LTTng-tools Manager, Developer 05/07/2013
LTTng-UST Developer 05/07/2013
Userspace RCU Developer 05/07/2013

Activity

10/16/2025

JG 02:02 PM LTTng-tools Revision cfb5c15a (lttng-tools): Fix: sessiond: leak of default attribute channel on channel creation
When creating a channel with default attributes, the "template" containing the
default attributes is never free'd. Modify channel_new_default_attr to return a
RAII wrapper from the sessiond's liblttng-ctl memory management wrappers.
Cha...
Jérémie Galarneau

10/10/2025

JG 02:50 PM LTTng-tools Revision 64c1d119 (lttng-tools): Fix: lttng-enable-channels: popt option argument leak
The caller of poptGetOptArg() assumes the ownership of the returned
string. As such, a unique_ptr is used to manage the lifetime of
the option arguments used in lttng-enable-channel.
Change-Id: Ib73e9548b3166df579904c2a82fe3930918e8066
...
Jérémie Galarneau
JG 11:14 AM LTTng-tools Revision 26a4b1ef (lttng-tools): Fix: kernel-consumer: prepend kernel TSDL metadata stream with header
Observed issue
==============
When running kernel tracing tests (such as
`tests/regression/tools/clear/test_kernel`) with Babeltrace 2.0, the
tests fail to parse traces.
# ./tests/regression/tools/clear/test_kernel
1..839
#...
Jérémie Galarneau

10/09/2025

JG 01:45 PM LTTng-tools Revision 893f666b (lttng-tools): Fix: container-wrapper: add missing comparison operators for _GLIBCXX_DEBUG
Observed issue
==============
When building with -D_GLIBCXX_DEBUG, the build fails with:
In file included from bt2_plugins/event_name/event_name.cpp:8:
In file included from bt2_plugins/event_name/../utils.hpp:11:
In file include...
Jérémie Galarneau
JG 11:11 AM LTTng-tools Revision 08cbbcfd (lttng-tools): Fix: stream-info: unaligned access when deserializing
Observed issue
==============
On 32-bit ARM, a crash due to SIGBUS is observed during the
tests/regression/ust/blocking/test_blocking test.
The `lttng` client is killed when accessing the memory_usage
field of a lttng_data_stream_info:...
Jérémie Galarneau

10/07/2025

JG 03:44 PM LTTng-tools Revision d960e214 (lttng-tools): Tests fix: clock: erroneous format specifier for clock value
On armhf, the test output log on the CI shows strange test durations:
duration_ms: -622153596000.000000
The culprit is the `clock` application which uses an inadequate
format specifier now that Debian 13 uses 64-bit time (even on
32-b...
Jérémie Galarneau
JG 10:50 AM LTTng-tools Revision 9231acf3 (lttng-tools): Fix: lttng-reclaim-memory: check return value of mi_lttng_writer_command_close
Coverity reported CHECKED_RETURN (CID 1635265) indicating that
mi_lttng_writer_command_close() was being called without checking its
return value, whereas it is checked in 25 out of 26 other call sites.
This fix adds a check for the ret...
Jérémie Galarneau
JG 10:50 AM LTTng-tools Revision 24dcea6c (lttng-tools): Fix: sessiond: validate iterator in get-channel-memory-usage
Coverity reports INVALIDATE_ITERATOR (CID 1635269) indicating that an
iterator from std::unordered_map::find() was being dereferenced without
checking if it was valid (i.e., not equal to end()).
In practice this can't happen since the d...
Jérémie Galarneau
JG 10:50 AM LTTng-tools Revision a3c083f6 (lttng-tools): Fix: sessiond: guard against division by zero in ratio calculation
Coverity reported DIVIDE_BY_ZERO (CID 1635268) indicating that the
logical_size variable could be zero when calculating the usage ratio,
leading to undefined behavior.
This isn't a reachable condition as far as I can tell since buffers
...
Jérémie Galarneau
JG 10:50 AM LTTng-tools Revision 27e09e69 (lttng-tools): Fix: sessiond: handle exceptions for noexcept functions in memory reclaim timer
Coverity reported several UNCAUGHT_EXCEPT warnings (CID 1635270, 1635271,
1635264, 1635267) indicating that exceptions could be thrown from the
noexcept _run() method. Additionally, CID 1635263 reported that the
constructor marked noexce...
Jérémie Galarneau

Also available in: Atom