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-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 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-16 Thread François Belias via lttng-dev
le#L16C1-L16C50 > > A couple of questions for you: > > - Where did /usr/src/linux-source-6.5.0 come from? > - Which linux distribution + version are you using? > - Assuming your distribution has kernel packages, which do you have > installed, and do you have the cor

Re: [lttng-dev] loading modules with modprobe

2024-07-16 Thread François Belias via lttng-dev
t; 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

[lttng-dev] loading modules with modprobe

2024-07-15 Thread François Belias via lttng-dev
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) . - Dow

Re: [lttng-dev] Error: Unable to list kernel events: Kernel tracer not available

2024-07-12 Thread François Belias via lttng-dev
I ran the `lttng-sessiond -vvv` command, but > I don't think the kernel modules are loaded. > thanks > > > Le ven. 12 juill. 2024, à 15 h 24, Kienan Stewart > a écrit : > >> Hi François, >> >> On 7/12/24 2:53 PM, François Belias via lttng-dev wrote: >

[lttng-dev] Error: Unable to list kernel events: Kernel tracer not available

2024-07-12 Thread François Belias via lttng-dev
Hello, When I run the command `sudo lttng list -k`, I get the following error: ``` Error: Unable to list kernel events: Kernel tracer not available. ``` I am trying to build LTTng-modules from the source. I followed the steps from this website: [LTTng Documentation]( https://lttng.org/docs/v2.13

[lttng-dev] Undefined symbol error fix

2024-07-11 Thread François Belias via lttng-dev
Hello, I am trying to access tracepoints from this website https://archive.eclipse.org/tracecompass.incubator/doc/org.eclipse.tracecompass.incubator.virtual.machine.analysis.doc.user/Virtual-Machine-Analysis-User-Documentation.html (kmv_entry, kmv_exit) for my analysis. I added the "addons" fo