----- On Mar 16, 2022, at 10:54 AM, lttng-dev lttng-dev@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
>> be:
>> 
>> 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.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to