Re: how to continuously capture events

Lin Wang <[email protected]> Wed, 5 May 2021 10:50:45 -0400
Newsgroups org.kernel.vger.linux-trace-users
Message-ID <CABPy0Fnk-4BXE8qG7BDjjXmNR66g5a3qCuQFfzL=ubFbh6-qFQ@mail.gmail.com>
> > I'm trying to continuously capture certain kernel events, convert them
> > to a different format and then write them to a file.
>
> You might also want to have a look at LTTng and LTTng-modules depending on your
> final use case. [1][2]

From a cursory look, it might be an overkill for what I want to
achieve. I will keep this in
mind in case I need to do something more complex. Thank you for the pointers.

-Lin

On Wed, May 5, 2021 at 9:47 AM Jonathan Rajotte-Julien
<[email protected]> wrote:
>
> Hi,
>
> > I'm trying to continuously capture certain kernel events, convert them
> > to a different format and then write them to a file.
>
> You might also want to have a look at LTTng and LTTng-modules depending on your
> final use case. [1][2]
>
> LTTng produce CTF traces [3] that can then be read/converted/manipulated with Babeltrace [4].
>
> [1] https://lttng.org/
> [2] https://lttng.org/docs/v2.12/#doc-tracing-the-linux-kernel
> [3] https://diamon.org/ctf/
> [4] https://babeltrace.org/
>
> Cheers
>
> --
> Jonathan Rajotte-Julien
> EfficiOS