Re: [lttng-dev] Undefined symbol error fix

Kienan Stewart via lttng-dev <[email protected]> Thu, 11 Jul 2024 16:55:41 -0400
Newsgroups org.lttng.lists.lttng-dev
Message-ID <[email protected]>
Hi François,

We don't support the forked version of LTTng modules that you are using 
(https://github.com/tahini/lttng-modules)

The canonical upstream version available at 
https://github.com/lttng/lttng-modules has tracepoints such as kvm_entry 
and kvm_exit.

E.g. 
https://github.com/lttng/lttng-modules/blob/06a1fc639b10b40c0ffc412f3fb663632e42dae6/include/instrumentation/events/arch/x86/kvm/trace.h#L20

thanks,
kienan

On 7/11/24 4:06 PM, François Belias via lttng-dev wrote:
> 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 <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" folder from the "addons_vm" branch of this repository: https://github.com/tahini/lttng-modules <https://github.com/tahini/lttng-modules> to the current version of lttng-module github repository. However, I am encountering these errors when compiling
> ERROR: modpost: "lttng_tracepoint_probe_register" 
> [lttng-modules/src/addons/lttng-vmsync-guest.ko] undefined!
> ERROR: modpost: "lttng_tracepoint_probe_unregister" 
> [Desktop/lttng-modules/src/addons/lttng-vmsync-guest.ko] undefined!
> ERROR: modpost: "lttng_tracepoint_probe_register" 
> [Desktop/lttng-modules/src/addons/lttng-vmsync-host.ko] undefined!
> ERROR: modpost: "lttng_tracepoint_probe_unregister" 
> [Desktop/lttng-modules/src/addons/lttng-vmsync-host.ko] undefined!
> 
> I am not sure how to resolve this issue. Can someone please help me?
> 
> Thanks.
> 
> _______________________________________________
> lttng-dev mailing list
> [email protected]
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev