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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 28 Feb 2022 21:46:11 +0000 (16:46 -0500)
commit44e63aa7f02feb05cfedceed8d30ac96ffabfbb4
tree24b43e86adfbd661c50b8e316f4fb34b2695a264
parentb2d6883965b19c6b6cb47acac952a7ab3de88c11
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.cpp
src/bin/lttng/commands/enable_events.cpp
This page took 0.025386 seconds and 4 git commands to generate.