[lttng-dev] lttng_lib_ring_buffer: section 24 reloc 0 sym '': relocation 42 out of range

Lukasz Domowy lukasz.odw39 at gmail.com
Thu May 28 07:51:12 EDT 2020


Hello,

First - of all: thank you very much for efforts to develop and
maintain LTTng. It's very useful tool!
I used it so far on PowerPC targets and now I try to run it on ARM:
Cyclone5 ARMv7 CPU.

When trying to run LTTng I get:

# lttng list --kernel
[ 2012.822578] lttng_lib_ring_buffer: section 24 reloc 0 sym '':
relocation 42 out of range (0x7f05827c -> 0xc0cd7358)
Error: Unable to list kernel events: Kernel tracer not available
Error: Command error

Do you have any hints how to fix it?

I found https://bugs.lttng.org/issues/1173 but enabling
CONFIG_ARM_MODULE_PLTS did not help.

I use LTTng from Yocto 3.0.2 with custom kernel 4.14.134-rt63-rt:

# lttng -V
lttng (LTTng Trace Control) 2.10.7 - KeKriek

All options recommended from documentation are enabled:
root at cyclone5:~# zcat /proc/config.gz | grep -i modules
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_MODULES=y
CONFIG_MODULES_TREE_LOOKUP=y
# Xtables combined modules
# User Modules And Translation Layers
root at cyclone5:~# zcat /proc/config.gz | grep -i kallsyms
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ABSOLUTE_PERCPU is not set
CONFIG_KALLSYMS_BASE_RELATIVE=y
root at cyclone5:~# zcat /proc/config.gz | grep -i high_res_timers
CONFIG_HIGH_RES_TIMERS=y
root at cyclone5:~# zcat /proc/config.gz | grep -i tracepoints
CONFIG_TRACEPOINTS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y

Thank you in advance!

Best regards,
Lukasz


More information about the lttng-dev mailing list