lp:~lttng/lttng-modules/trunk

Created by Ubuntu LTTng on 2011-05-12 and last modified on 2020-02-26
Get this branch:
bzr branch lp:~lttng/lttng-modules/trunk

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu LTTng
Project:
lttng-modules
Status:
Development

Import details

Import Status: Reviewed

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

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on alnitak and finished 2 hours ago taking 20 seconds — see the log
Import started 8 hours ago on alnitak and finished 8 hours ago taking 15 seconds — see the log
Import started 14 hours ago on alnitak and finished 14 hours ago taking 20 seconds — see the log
Import started 21 hours ago on alnitak and finished 21 hours ago taking 20 seconds — see the log
Import started on 2020-02-26 on alnitak and finished on 2020-02-26 taking 20 seconds — see the log
Import started on 2020-02-26 on alnitak and finished on 2020-02-26 taking 20 seconds — see the log
Import started on 2020-02-25 on alnitak and finished on 2020-02-25 taking 20 seconds — see the log
Import started on 2020-02-25 on alnitak and finished on 2020-02-25 taking 20 seconds — see the log
Import started on 2020-02-25 on alnitak and finished on 2020-02-25 taking 20 seconds — see the log
Import started on 2020-02-25 on alnitak and finished on 2020-02-25 taking 5 minutes

Recent revisions

1287. By Francis Deslauriers <email address hidden> 23 hours ago

Change integer base to hex for fields representing addresses

It seems more expected to show addresses in hexadecimal.

I applied this to all fields named "ip" or "addr".

I haven't change the `addr` fields in the i2c.h file as I am not aware
of what is the convention when displaying I2C addresses.

Signed-off-by: Francis Deslauriers <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I6ed00b31e319e1d966ab138471248dcf3d2c7315

1286. By Mathieu Desnoyers on 2020-02-25

Fix: rcu: Fix data-race due to atomic_t copy-by-value (5.5.6, 5.4.22)

The following upstream commit has been backported to stable kernels
5.5.6 and 5.4.22:

  commit 6cf539a87a61a4fbc43f625267dbcbcf283872ed
  Author: Marco Elver <email address hidden>
  Date: Wed Oct 9 17:57:43 2019 +0200

    rcu: Fix data-race due to atomic_t copy-by-value

    This fixes a data-race where `atomic_t dynticks` is copied by value. The
    copy is performed non-atomically, resulting in a data-race if `dynticks`
    is updated concurrently.

Signed-off-by: Mathieu Desnoyers <email address hidden>

1285. By Michael Jeanson <email address hidden> on 2020-02-24

fix: y2038: hide timeval/timespec/itimerval/itimerspec types (v5.6)

See upstream commit:

  commit c766d1472c70d25ad475cf56042af1652e792b23
  Author: Arnd Bergmann <email address hidden>
  Date: Thu Feb 20 20:03:57 2020 -0800

    y2038: hide timeval/timespec/itimerval/itimerspec types

    There are no in-kernel users remaining, but there may still be users that
    include linux/time.h instead of sys/time.h from user space, so leave the
    types available to user space while hiding them from kernel space.

    Only the __kernel_old_* versions of these types remain now.

Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I986a813ad8b1c753ab1fa07f726b0cc481f049cb

1284. By Michael Jeanson <email address hidden> on 2020-02-24

fix: use timespec64 on kernels that have it

This fixes v5.6 which has hidden 'struct timespec' from kernel code and
makes 32bit archs y2038 compliant on v3.17 and newer.

Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I1daedc4a93cbbebb8f5a1d99c4619cb27f6a9e07

1283. By Michael Jeanson <email address hidden> on 2020-02-24

fix: move lttng_close_on_exec to proper wrapper

Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I330c6d63fc9c1af00c9a9471563d322d036b9a9c

1282. By Michael Jeanson <email address hidden> on 2020-02-24

fix: 'struct timex' removed upstream (v5.6)

The 'timex' struct was remove in v5.6 and replaced by 2 variants, one
that is y2038 compliant and a compat version for 32bit archs.

Add this temporary fix while we update our syscalls tracepoint headers,
the type of this struct has limited importance since it's only used to
record the adress in the trace.

Signed-off-by: Michael Jeanson <email address hidden>
Change-Id: I085b22f282db57985f1c3d341e7c0866cb20e3c9

1281. By Mathieu Desnoyers on 2020-02-20

Fix: statedump: consistently check task_cred_xxx() return value for NULL

trace_lttng_statedump_process_user_ns() internally checks whether
user_ns is NULL. While this does not appear to be a possible return
value for task_cred_xxx(), err on the safe side and check for NULL here
as well to be consistent with the paranoid behavior of
trace_lttng_statedump_process_user_ns().

Signed-off-by: Mathieu Desnoyers <email address hidden>

1280. By Mathieu Desnoyers on 2020-02-20

Fix: statedump: check task_active_pid_ns return value for NULL

The lttng-statedump checks the return value of task_active_pid_ns()
before each use within lttng_statedump_process_pid_ns(), but misses
the NULL check before dereferencing pid_ns->parent.

This race happens if a task exists in "dead" state while the statedump
iterates on that task.

Reported-by: Li Zhou <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

1279. By Francis Deslauriers <email address hidden> on 2020-02-18

Fix: lttng-events.c: variable may be used uninitialized

Fixes the following warning:
 /home/frdeso/projets/lttng/modules/lttng-events.c: In function ‘print_metadata_escaped_field’:
 /home/frdeso/projets/lttng/modules/lttng-events.c:2563:5: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (ret)
           ^

Signed-off-by: Francis Deslauriers <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: If2db5e1ad9782fb49d6d07026976d3d22f89f2ab

1278. By Francis Deslauriers <email address hidden> on 2020-02-18

Cleanup: remove trailing white spaces across project

Signed-off-by: Francis Deslauriers <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I2de34e4913f9cefbd72a138f2d3dfb9d67ece311

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers