[lttng-dev] call trace while using lttng in petalinux 2019.2 (kernel 4.19)
mathieu.desnoyers at efficios.com
Wed Mar 16 15:48:27 EDT 2022
----- On Mar 16, 2022, at 10:54 AM, lttng-dev lttng-dev at lists.lttng.org wrote:
> On 2022-03-16 09:25, Mathieu Desnoyers via lttng-dev wrote:
>> An alternative to query the lttng-modules version, if you really cannot
>> install modinfo, would
>> strings /lib/modules/$(uname -r)/extra/lttng-tracer.ko | grep "^version="
> Assuming a somewhat recent version of lttng-modules, the version will also be
> printed to dmesg when the modules are loaded.
This "LTTng: Loaded modules..." printk was added in v2.9.10 in the stable-2.9 branch of
lttng-modules. I suspect that the version of lttng-modules is even older here.
More information about the lttng-dev