Re: Not capturing ust events

David Aldrich via lttng-dev <[email protected]> Thu, 8 May 2025 18:02:12 +0100
Newsgroups org.lttng.lists.lttng-dev
Message-ID <CAJK_ieibZJjJus6PdOnWAiLFOymm6D8AmkG3vdpDnuazG1wAbA@mail.gmail.com>
Hi Kienan

Thanks very much for your reply. I can now capture UST events. (My
actual problem was that I was not linking to lttng-ust).

I am now using the method you described:

> lttng create my_proj
> lttng enable-event --userspace 'lttng_ust_tracef:*'
> lttng start
> ./my_app
> lttng stop
> lttng view # [Optional]

This works and captures UST events but I am not capturing Kernel
events.  My reason for running this experiment is that occasionally
our application shows glitches where a task takes longer than
expected. So I want to see what happens in that occurrence - perhaps
an ISR is running or something like that. So I assume that I need to
capture Kernel and UST events.

Can you please advise me why Kernel events aren't being captured?

Best regards
David