How to build lttng on RHEL 9?
David Aldrich
david.aldrich.ntml at gmail.com
Mon Jan 19 11:00:44 EST 2026
Hi
I have a build error for lttng-modules-2.14.3 on RHEL 9.6:
lttng-modules-2.14.3/src/lttng-statedump-impl.c:408:20: error:
‘dev_base_lock’ undeclared (first use in this function); did you mean
‘device_lock’?
408 | read_lock(&dev_base_lock);
| ^~~~~~~~~~~~~
Please can you advise me how to fix this?
(I am only building from source because I assume lttng packages aren't
available for RHEL 9).
Thanks in advance
David
More information about the lttng-dev
mailing list