[lttng-dev] Undefined symbol error fix

Kienan Stewart kstewart at efficios.com
Fri Jul 12 10:32:55 EDT 2024


Hi François,

On 7/11/24 6:06 PM, François Belias wrote:
> Hello Kienan, thanks for the reply. For my analysis, I am also looking 
> for these tracepoints:
>      - vmsync_gh_guest
>      - vmsync_hg_guest
>      - vmsync_gh_host
>      - vmsync_hg_host
>   does the canonical upstream version have them ? thanks.
> 

No, it doesn't. Those tracepoints are custom by the looks of it, and not 
tracepoints that exist in the mainline linux kernel.

thanks,
kienan

> François
> 
> Le jeu. 11 juill. 2024, à 16 h 55, Kienan Stewart <kstewart at efficios.com 
> <mailto:kstewart at efficios.com>> a écrit :
> 
>     Hi François,
> 
>     We don't support the forked version of LTTng modules that you are using
>     (https://github.com/tahini/lttng-modules
>     <https://github.com/tahini/lttng-modules>)
> 
>     The canonical upstream version available at
>     https://github.com/lttng/lttng-modules
>     <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 <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> <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> <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
>      > lttng-dev at lists.lttng.org <mailto:lttng-dev at lists.lttng.org>
>      > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>     <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev>
> 


More information about the lttng-dev mailing list