lp:lttng-tools

Owned by Ubuntu LTTng
Get this repository:
git clone https://git.launchpad.net/lttng-tools

Import details

Import Status: Reviewed

This repository is an import of the Git repository at git://git.lttng.org/lttng-tools.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 2 minutes — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 1 minute — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 50 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 30 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 40 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 30 seconds — see the log

Branches

Name Last Modified Last Commit
master 2024-03-26 20:34:11 UTC
scope-exit: Clarify scope_exit noexcept requirement

Author: =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?=
Author Date: 2024-03-26 20:33:35 UTC

scope-exit: Clarify scope_exit noexcept requirement

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iec34c435327e63e046319fa12f78a74ec50f4163

stable-2.13 2023-11-28 21:40:23 UTC
Fix: sessiond: crash when sending data_pending to an active session

Author: Kienan Stewart
Author Date: 2023-07-13 19:13:12 UTC

Fix: sessiond: crash when sending data_pending to an active session

Observed Issue
==============

When a data_pending command is sent to an active session, the sessiond
crashes with the following assert

```
lttng-sessiond: client.cpp:2647: void* thread_manage_clients(void*): Assertion `cmd_ctx.reply_payload.buffer.size >= sizeof(*llm)' failed.
Error: 1 trace chunks are leaked by lttng-consumerd. This can be caused by an internal error of the session daemon.
```

Cause
=====

When a session is active, cmd.cpp:cmd_data_pending() returns
LTTNG_ERR_SESSION_STARTED. In client.cpp:process_client_msg(), this
return value causes the execution to go the the setup_error label. In
the setup_error label, no default LLM header is added to the reply,
meaning the reply has a zero size and triggering the assert above.

Solution
========

When cmd_data_pending() returns a value that is neither 0 nor 1, the
return code is set appropriately as follows:

  * when the return value is outside the range of lttng error codes,
  LTTNG_ERR_UNK is used
  * otherwise, the return value is used

The execution then jumps to the error label so that the default LLM
message header can be added.

Known Drawbacks
===============

None.

Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iff46f87c7725d25c131a86ac3dbaed5c99b4d16b

stable-2.12 2023-07-28 19:45:28 UTC
Tests: Preemptively fail infinite blocking tests when low on disk space

Author: Kienan Stewart
Author Date: 2023-06-21 13:39:06 UTC

Tests: Preemptively fail infinite blocking tests when low on disk space

In the system tests run by LAVA, the infinite blocking tests were
hanging when the system under test ran out of disk space. This is the
expected behaviour of the failing test, but the condition can be
detected and the tests preemptively failed with a clear error of what
needs to be addressed in the system being tested.

Change-Id: I9e6126408b57c2cd5aa64c2e360e0672f9eb2314
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.11 2021-10-18 21:10:34 UTC
Update version to v2.11.8

Author: =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?=
Author Date: 2021-10-18 21:10:34 UTC

Update version to v2.11.8

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.9 2020-04-16 20:41:02 UTC
Update version to v2.9.15

Author: Jérémie Galarneau
Author Date: 2020-04-16 20:41:02 UTC

Update version to v2.9.15

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.10 2020-04-16 20:40:13 UTC
Update version to v2.10.11

Author: Jérémie Galarneau
Author Date: 2020-04-16 20:40:13 UTC

Update version to v2.10.11

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.8 2017-08-03 19:17:00 UTC
Update version to v2.8.8

Author: Jérémie Galarneau
Author Date: 2017-08-03 19:17:00 UTC

Update version to v2.8.8

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.7 2016-12-01 23:07:42 UTC
Update version to v2.7.6

Author: Jérémie Galarneau
Author Date: 2016-12-01 23:07:42 UTC

Update version to v2.7.6

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.6 2016-05-20 21:46:14 UTC
Update version to v2.6.3

Author: Jérémie Galarneau
Author Date: 2016-05-20 21:46:14 UTC

Update version to v2.6.3

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.5 2015-09-25 04:22:48 UTC
Update version to v2.5.5

Author: Jérémie Galarneau
Author Date: 2015-09-25 04:22:48 UTC

Update version to v2.5.5

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.4 2015-02-09 20:10:49 UTC
Test: java-jul:missing static test files for dist and out of tree build

Author: Jérémie Galarneau
Author Date: 2015-02-06 20:23:19 UTC

Test: java-jul:missing static test files for dist and out of tree build

Reported-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

stable-2.3 2014-07-10 20:03:06 UTC
Fix: add a get HOME dir fallback to getpwuid

Author: David Goulet
Author Date: 2014-07-10 20:02:02 UTC

Fix: add a get HOME dir fallback to getpwuid

If the $HOME or $LTTNG_HOME is not defined, fallback on getpwuid(3) of
the process uid.

Fixes #815

Signed-off-by: David Goulet <dgoulet@efficios.com>

stable-2.2 2014-02-28 17:55:41 UTC
Update version to v2.2.6

Author: David Goulet
Author Date: 2014-02-28 17:55:41 UTC

Update version to v2.2.6

Signed-off-by: David Goulet <dgoulet@efficios.com>

memleak-finder 2013-10-24 14:23:34 UTC
Merge branch 'master' into memleak-finder

Author: David Goulet
Author Date: 2013-10-24 14:23:34 UTC

Merge branch 'master' into memleak-finder

stable-2.1 2013-07-11 21:27:44 UTC
Update version to v2.1.2

Author: David Goulet
Author Date: 2013-07-11 21:27:44 UTC

Update version to v2.1.2

Signed-off-by: David Goulet <dgoulet@efficios.com>

stable-2.0 2013-07-11 21:21:09 UTC
Update version to v2.0.6

Author: David Goulet
Author Date: 2013-07-11 21:21:09 UTC

Update version to v2.0.6

Signed-off-by: David Goulet <dgoulet@efficios.com>

valgrind 2013-07-04 19:05:39 UTC
Add valgrind support for consumer

Author: David Goulet
Author Date: 2012-12-10 19:35:23 UTC

Add valgrind support for consumer

The tests/consumer-valgrind is a script that starts the session daemon
with valgrind support for the consumer. Output files are:

/tmp/valgrind.ust32consumer.log
/tmp/valgrind.ust64consumer.log
/tmp/valgrind.kconsumer.log

Signed-off-by: David Goulet <dgoulet@efficios.com>

cygwin-2.0-experimental 2013-01-07 20:04:24 UTC
Add a README.cygwin for Cygwin specific build/install instructions

Author: Christian Babeux
Author Date: 2012-12-21 18:47:16 UTC

Add a README.cygwin for Cygwin specific build/install instructions

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

benchmark 2012-04-25 15:41:28 UTC
Update hello for benchmarks

Author: David Goulet
Author Date: 2012-04-25 15:41:28 UTC

Update hello for benchmarks

Signed-off-by: David Goulet <dgoulet@efficios.com>

119 of 19 results
This repository contains Public information 
Everyone can see this information.