lp:~lttng/lttng-modules/trunk
- Get this branch:
- bzr branch lp:~lttng/lttng-modules/trunk
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.lttng.org/lttng-modules.git.
Last successful import was 12 minutes ago.
Recent revisions
- 1546. By He Zhe <email address hidden> on 2021-04-19
-
lttng-probes: Warn of event's and provider's name for mismatch
We have experience serveral cases of such mismatches. To make it easier to
debug, let's warn users of the event's and the provide's name.Signed-off-by: He Zhe <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I455bf92f9f735f890753c9103d229 86e56e02e5d - 1545. By He Zhe <email address hidden> on 2021-04-19
-
fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12)
a8bc8ae5c932 ("fix: mm, tracing: record slab name for kmem_cache_free() (v5.12)")
introduces the following call trace for kfree. This is caused by mismatch
between kfree event and its provider kmem.This patch maps kfree to kmem_kfree.
WARNING: CPU: 2 PID: 42294 at src/lttng-
probes. c:81 fixup_lazy_ probes+ 0xb0/0x1b0 [lttng_tracer]
CPU: 2 PID: 42294 Comm: modprobe Tainted: G O 5.12.0-rc6-yoctodev- standard #1
Hardware name: Intel Corporation JACOBSVILLE/JACOBSVILLE, BIOS JBVLCRB2. 86B.0014. P20.2004020248 04/02/2020
RIP: 0010:fixup_lazy_probes+ 0xb0/0x1b0 [lttng_tracer]
Code: 75 28 83 c3 01 3b 5d c4 74 22 48 8b 4d d0 48 63
c3 4c 89 e2 4c 89 f6 48 8b 04 c1 4c 8b 38 4c 89
ff e8 64 9f 4b de 85 c0 74 c3 <0f> 0b 48 8b 05 bf
f2 1e 00 48 8d 50 e8 48 3d f0 a0 98 c0 75 18 eb
RSP: 0018:ffffb976807bfbe0 EFLAGS: 00010286
RAX: 00000000ffffffff RBX: 0000000000000004 RCX: 0000000000000004
RDX: 0000000000000066 RSI: ffffffffc03c10a7 RDI: ffffffffc03c11a1
RBP: ffffb976807bfc28 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000004
R13: ffffffffc03c2000 R14: ffffffffc03c10a7 R15: ffffffffc03c11a1
FS: 00007f0ef9533740(0000) GS:ffffa100faa0 0000(0000) knlGS:000000000 0000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561e8f0aa000 CR3: 000000015b318000 CR4: 0000000000350ee0
Call Trace:
lttng_probe_register+ 0x38/0xe0 [lttng_tracer]
? __event_probe__ module_ load+0x520/ 0x520 [lttng_ probe_module]
__lttng_events_ init__module+ 0x15/0x20 [lttng_ probe_module]
do_one_initcall+ 0x68/0x310
? kmem_cache_alloc_trace+ 0x2ad/0x4c0
? do_init_module+ 0x28/0x280
do_init_module+ 0x62/0x280
load_module+0x26e4/ 0x2920
? kernel_read_file+ 0x22e/0x290
__do_sys_finit_module+ 0xb1/0xf0
__x64_sys_finit_ module+ 0x1a/0x20
do_syscall_64+0x38/ 0x50
entry_SYSCALL_ 64_after_ hwframe+ 0x44/0xae Signed-off-by: He Zhe <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I00e8ee2b8c35f6f8602c88295f511 3fbbd139709 - 1544. By Michael Jeanson <email address hidden> on 2021-04-15
-
fix: refactor contexts for type description structures
The 'preemptible' and 'migratable' contexts were not refactored along
the others in :commit 437d5aa59380583
ce1cd14d394a53b 398be1275d
Author: Mathieu Desnoyers <email address hidden>
Date: Wed Apr 7 14:52:27 2021 -0400Refactoring: type description structures
Change-Id: I8a228c0ff982a4
aded27b055baae1 f5efec29164
Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden> - 1543. By Michael Jeanson <email address hidden> on 2021-04-15
-
fix: remove 'src/' from modules install path
The move of the modules sources in the 'src/' subdirectory had the
unexpected side effect of adding 'src/' to the module install path
inside '/lib/modules/$(uname -r)/extra'. Adjust the Makefiles to return
to the initial behavior.Change-Id: I280fe8a1e5ef36
7edeec0a6351351 a233cc6f0be
Signed-off-by: Michael Jeanson <email address hidden>Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: Ifcc64ea95c0e1435567150d976d42 e3add3f7523 - 1542. By Michael Jeanson <email address hidden> on 2021-04-15
-
fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: Ifa0f50ffdc946d80b67bb5ae7ca4b 0aa152e825b - 1541. By Michael Jeanson <email address hidden> on 2021-04-15
-
fix: block: add a disk_uevent helper (v5.12)
See upstream commit:
commit bc359d03c7ec1bf
3b86d03bafaf6bb b21e6414fd
Author: Christoph Hellwig <email address hidden>
Date: Sun Jan 24 11:02:39 2021 +0100block: add a disk_uevent helper
Add a helper to call kobject_uevent for the disk and all partitions, and
unexport the disk_part_iter_* helpers that are now only used in the core
block code.Change-Id: If6e8797049642a
b382d5699660ee1 dd734e92c90
Signed-off-by: Michael Jeanson <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden> - 1540. By Mathieu Desnoyers on 2021-04-15
-
Fix: perf counters: uninitialized field
Reported by Coverity:
** CID 1452572: Uninitialized variables (UNINIT)
>>> Using uninitialized value "ctx_field". Field "ctx_field.get_size_ arg" is uninitialized when calling "lttng_ kernel_ context_ append" . Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I064260c6fe78af24768bb141fde28 64d2abbe3a5 - 1539. By Mathieu Desnoyers on 2021-04-14
-
Cleanup: implement dedicated file operations for events and enablers
In order to simplify the code in preparation for refactoring of the
event structures, remove the "event type" field and implement specific
file operations for events and enablers.Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I508bdb46fa3747112e7cfef4a6227 8fb566f842a - 1538. By Mathieu Desnoyers on 2021-04-14
-
Namespace LTTng modules ABI with lttng_kernel_abi_ prefix
Standardize on lttng_kernel_abi_ prefix for the lttng modules ABI to
eliminate namespace clash between lttng-modules core code and its ABI.Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I3b1c8d6f46702e57defa17d683ede 576466ba3ce - 1537. By Mathieu Desnoyers on 2021-04-14
-
Refactoring: type description structures
Refactoring:
- Type description structures: new API based on structure inheritance
rather than union,
- Rely on compound literals,
- Rename description fields: name -> event_name,
- Rename types (lttng_kernel_ namespace):
- struct lttng_kernel_event_desc,
- struct lttng_kernel_event_field,
- struct lttng_kernel_ctx.
- Move some internal definitions (not used by probes) to
events-internal. h.
- Streamline context registration API,
- Introduce the LTTNG_CREATE_FIELD_METADATA define for the tracepoint
code generation pass which generates the type descriptions, allowing
to describe structures as an array of fields, and use enumerations
from those fields.
- Adapt all tracepoint instrumentation to those changes.Signed-off-by: Mathieu Desnoyers <email address hidden>
Change-Id: I9a968a62888c52438a1f62ec24fcc ed4c3fd6ddf
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)