[lttng-dev] LTTng on RHEL 7.9 with real time kernel patch

Pennese Marco marco.pennese at leonardo.com
Fri Jul 15 09:19:04 EDT 2022


Hi,

I’m trying to use LTTng on a Red Hat Enterprise Linux 7.9 (with the real time kernel patch).
I installed LTTng on the machine following the EfficiOS guide linked by lttng official website.

In my configuration, lttng manages to record user space events.
I’d like to record also kernel space events, so I’m following the quickstart guide on the website.

As soon as I run “lttng list –-kernel”, I obtain the error:



Error: Unable to list kernel events: Kernel tracer not available

Error: Command error

If I repeat the procedure on a machine without the real time kernel patch, it works as it should.
The real time kernel I’m using is the following
3.10.0-1160.62.1.rt56.1203.el7.x86_64

Do you think the error is due to the real time patch? Can LTTng work with a real time kernel?
Do I need to follow a different procedure for installing LTTng on a RHEL 7.9 real time machine?

Thank you,
Marco

Il presente messaggio e-mail e ogni suo allegato devono intendersi indirizzati esclusivamente al destinatario indicato e considerarsi dal contenuto strettamente riservato e confidenziale. Se non siete l'effettivo destinatario o avete ricevuto il messaggio e-mail per errore, siete pregati di avvertire immediatamente il mittente e di cancellare il suddetto messaggio e ogni suo allegato dal vostro sistema informatico. Qualsiasi utilizzo, diffusione, copia o archiviazione del presente messaggio da parte di chi non ne è il destinatario è strettamente proibito e può dar luogo a responsabilità di carattere civile e penale punibili ai sensi di legge.
Questa e-mail ha valore legale solo se firmata digitalmente ai sensi della normativa vigente.
________________________________
The contents of this email message and any attachments are intended solely for the addressee(s) and contain confidential and/or privileged information.
If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately notify the sender and then delete this message and any attachments from your system. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Unauthorized disclosure and/or use of information contained in this email message may result in civil and criminal liability. “
This e-mail has legal value according to the applicable laws only if it is digitally signed by the sender
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20220715/29114e9e/attachment.htm>


More information about the lttng-dev mailing list