* [lttng-dev] Undefined symbol error fix @ 2024-07-11 20:06 François Belias via lttng-dev 2024-07-11 20:55 ` Kienan Stewart via lttng-dev 0 siblings, 1 reply; 4+ messages in thread From: François Belias via lttng-dev @ 2024-07-11 20:06 UTC (permalink / raw) To: lttng-dev [-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --] 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" folder from the "addons_vm" branch of this repository: 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. [-- Attachment #1.2: Type: text/html, Size: 1443 bytes --] [-- Attachment #2: Type: text/plain, Size: 156 bytes --] _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lttng-dev] Undefined symbol error fix 2024-07-11 20:06 [lttng-dev] Undefined symbol error fix François Belias via lttng-dev @ 2024-07-11 20:55 ` Kienan Stewart via lttng-dev [not found] ` <CAHD10Ui0JtFCWY9ND_VxdfYBiF=iOK-SJTfjwZQ6QyQgzLBZBg@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Kienan Stewart via lttng-dev @ 2024-07-11 20:55 UTC (permalink / raw) To: François Belias, lttng-dev 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 > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAHD10Ui0JtFCWY9ND_VxdfYBiF=iOK-SJTfjwZQ6QyQgzLBZBg@mail.gmail.com>]
* Re: [lttng-dev] Undefined symbol error fix [not found] ` <CAHD10Ui0JtFCWY9ND_VxdfYBiF=iOK-SJTfjwZQ6QyQgzLBZBg@mail.gmail.com> @ 2024-07-12 14:32 ` Kienan Stewart via lttng-dev [not found] ` <CAHD10Uhv+Z2OeNEqShXjZDKLWERUwjqPzvu2NsSsQmpEQdF81w@mail.gmail.com> 0 siblings, 1 reply; 4+ messages in thread From: Kienan Stewart via lttng-dev @ 2024-07-12 14:32 UTC (permalink / raw) To: François Belias, lttng-dev@lists.lttng.org 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@efficios.com > <mailto:kstewart@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@lists.lttng.org <mailto:lttng-dev@lists.lttng.org> > > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev> > _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CAHD10Uhv+Z2OeNEqShXjZDKLWERUwjqPzvu2NsSsQmpEQdF81w@mail.gmail.com>]
* Re: [lttng-dev] Undefined symbol error fix [not found] ` <CAHD10Uhv+Z2OeNEqShXjZDKLWERUwjqPzvu2NsSsQmpEQdF81w@mail.gmail.com> @ 2024-07-12 18:12 ` Kienan Stewart via lttng-dev 0 siblings, 0 replies; 4+ messages in thread From: Kienan Stewart via lttng-dev @ 2024-07-12 18:12 UTC (permalink / raw) To: François Belias, lttng-dev@lists.lttng.org Hi François, On 7/12/24 12:21 PM, François Belias wrote: > Hello Kienan, > Thanks for your reply. I'm working on analyzing a virtual machine by > tracing both the host and the guest. I need these tracepoints to > synchronize the traces and begin my analysis. Could you provide any > steps or recommendations for making these add-ons compatible with the > current version of LTTng so that I don't have the error I > mentioned earlier? I think you will also have to modify the Kbuild file so that it builds the new modules that are in the addons folder. I assume there will be other changes to make but to go over all the details is beyond the scope of what I think I can effectively help you with. You may want to consult a resource like https://sysprog21.github.io/lkmpg/#functions-available-to-modules to see how it works to configure and write kernel modules. thanks, kienan P.S. Could you please keep lttng-dev in CC? thanks > > Thanks, > > François > > Le ven. 12 juill. 2024, à 10 h 33, Kienan Stewart <kstewart@efficios.com > <mailto:kstewart@efficios.com>> a écrit : > > 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@efficios.com <mailto:kstewart@efficios.com> > > <mailto:kstewart@efficios.com <mailto:kstewart@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> > > <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> > > <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> <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>> <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>> <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@lists.lttng.org > <mailto:lttng-dev@lists.lttng.org> <mailto:lttng-dev@lists.lttng.org > <mailto:lttng-dev@lists.lttng.org>> > > > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev> > > <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev>> > > > _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-12 18:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-07-11 20:06 [lttng-dev] Undefined symbol error fix François Belias via lttng-dev 2024-07-11 20:55 ` Kienan Stewart via lttng-dev [not found] ` <CAHD10Ui0JtFCWY9ND_VxdfYBiF=iOK-SJTfjwZQ6QyQgzLBZBg@mail.gmail.com> 2024-07-12 14:32 ` Kienan Stewart via lttng-dev [not found] ` <CAHD10Uhv+Z2OeNEqShXjZDKLWERUwjqPzvu2NsSsQmpEQdF81w@mail.gmail.com> 2024-07-12 18:12 ` Kienan Stewart via lttng-dev
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).