Re: [lttng-dev] loading modules with modprobe

2024-07-18 Thread François Belias via lttng-dev
Hello Kienan, my issue has been fixed. thanks for your help Le jeu. 18 juill. 2024, à 10 h 58, Kienan Stewart a écrit : > A couple of addendums inline below > > On 7/18/24 10:47 AM, Kienan Stewart via lttng-dev wrote: > > Hi François, > > > > The dmesg excerpts are spaced by a number of minute

Re: [lttng-dev] loading modules with modprobe

2024-07-18 Thread Kienan Stewart via lttng-dev
A couple of addendums inline below On 7/18/24 10:47 AM, Kienan Stewart via lttng-dev wrote: Hi François, The dmesg excerpts are spaced by a number of minutes each, are they from different attempts to build and load the modules? On 7/17/24 8:44 PM, François Belias wrote: Hello Kienan, Thank

Re: [lttng-dev] loading modules with modprobe

2024-07-18 Thread Kienan Stewart via lttng-dev
Hi François, The dmesg excerpts are spaced by a number of minutes each, are they from different attempts to build and load the modules? On 7/17/24 8:44 PM, François Belias wrote: Hello Kienan, Thanks to your advice, I managed to load some modules. However, I encountered errors like these wh

Re: [lttng-dev] loading modules with modprobe

2024-07-17 Thread François Belias via lttng-dev
Hello Kienan, Thanks to your advice, I managed to load some modules. However, I encountered errors like these when running `dmesg | grep lttng`: ``` [ 218.043672] module lttng_kretprobes: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time [ 650.5

Re: [lttng-dev] loading modules with modprobe

2024-07-17 Thread Kienan Stewart via lttng-dev
Hi François, On 7/17/24 11:47 AM, François Belias wrote: Hello, Kienan *Right. Which kernel are you actually running at this time? You can check using: `uname -a`* Linux philippe 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun  3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Re: [lttng-dev] loading modules with modprobe

2024-07-17 Thread François Belias via lttng-dev
Hello, Kienan *Right. Which kernel are you actually running at this time? You can checkusing: `uname -a`* Linux philippe 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux *Since you've got a few different images and headers instal

Re: [lttng-dev] loading modules with modprobe

2024-07-17 Thread Kienan Stewart via lttng-dev
Hi François, On 7/16/24 4:34 PM, François Belias wrote: Hello Kienan, When I proceed with the following steps: ``` # Warning: this removes all untracked content from the lttng-modules directory cd /path/to/lttng-modules-source git clean -dxf make sudo make modules_install sudo depmod -a ```

Re: [lttng-dev] loading modules with modprobe

2024-07-16 Thread François Belias via lttng-dev
Hello Kienan, When I proceed with the following steps: ``` # Warning: this removes all untracked content from the lttng-modules directory cd /path/to/lttng-modules-source git clean -dxf make sudo make modules_install sudo depmod -a ``` I encounter a warning in `/home/philippe/lttng-modules/src/

Re: [lttng-dev] loading modules with modprobe

2024-07-16 Thread Kienan Stewart via lttng-dev
Hi François, On 7/16/24 3:01 PM, François Belias wrote: Hello Kienan, I've continued investigating my issue and discovered something new that might shed some light. Here's the rundown: 1. To ensure my add-ons weren't causing problems, deleted all old modules and I followed the documentation

Re: [lttng-dev] loading modules with modprobe

2024-07-16 Thread François Belias via lttng-dev
Hello Kienan, I've continued investigating my issue and discovered something new that might shed some light. Here's the rundown: 1. To ensure my add-ons weren't causing problems, deleted all old modules and I followed the documentation on the LTTng website ( https://lttng.org/docs/v2.13/#doc-buil

Re: [lttng-dev] loading modules with modprobe

2024-07-16 Thread Kienan Stewart via lttng-dev
Hi François, On 7/15/24 6:10 PM, François Belias via lttng-dev wrote: 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/