Fix: lttng: truncated addresses and offsets on 32-bit builds
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 23 Feb 2022 22:40:06 +0000 (17:40 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 25 Feb 2022 15:35:09 +0000 (10:35 -0500)
commitb448ef3c46885b2e713b1fda0b53134d01bb6301
tree49d2a49051f4adfeaab90233d1e80d676662fc93
parent997edb99904a51565b70fe77e56e9bba06136ac1
Fix: lttng: truncated addresses and offsets on 32-bit builds

The lttng client parses hexadecimal addresses using, at some point,
strtoul(). Using this function effectively caps addresses and
offsets to MAX_UINT32 resulting in failures to enable kprobes
against a 64-bit kernel using a 32-bit client.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If619e9e84413de5cd32d8c06f363152caaf5ac46
src/bin/lttng/commands/add_trigger.c
src/bin/lttng/commands/enable_events.c
This page took 0.026436 seconds and 5 git commands to generate.