Hello,

I'm currently running Linux kernel version 6.5.0-41-generic and attempting
to install LTTng from source. Here are the steps I followed:

 - I cloned the LTTng git repository to my computer from [
https://github.com/lttng/lttng-modules.git](https://github.com/lttng/lttng-modules.git)
.
- Downloaded the kernel source tree corresponding to my kernel version to
enable compilation.
- Executed `make KERNELDIR=/path/to/my/linux/source`, which was completed
successfully.
- Ran `make KERNELDIR=/path/to/my/linux/source modules_install`, also
without any issues.
- Finally, I executed `sudo depmod -a`, which was completed successfully.

However, when I attempt to load a module with commands like `sudo modprobe
lttng-ketprobes` or "sudo modprobe lttng-tracer", I encounter the following
errors:

- For `lttng-ketprobes`: `modprobe: FATAL: Module lttng-ketprobes not found
in directory /lib/modules/6.5.0-41-generic`.
- For `lttng-tracer`: `modprobe: ERROR: could not insert 'lttng_tracer':
Exec format error`.

I've confirmed that the modules exist but can't load them. I'm unsure how
to resolve these issues. Could someone please assist me?

Thank you.
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to