archive mirror
 help / color / mirror / Atom feed
From: Mathieu Desnoyers via lttng-dev <>
To: Philippe Proulx <>,
	 Jeremie Galarneau <>,
	rostedt <>
Cc: lttng-dev <>
Subject: [lttng-dev] Usage example of libbabeltrace (babeltrace2) to read CTF traces from a GUI
Date: Mon, 14 Jun 2021 16:00:47 -0400 (EDT)	[thread overview]
Message-ID: <> (raw)

Hi Philippe, Hi Jeremie,

Steven is interested to use libbabeltrace as a CTF trace reader in the KernelShark
project. It's a GUI which shows Linux kernel traces.

He notices that most of the documented usage examples of the libbabeltrace API
focus on use-cases where a custom trace format is converted into CTF.

I know that the babeltrace2 program is the main user of libbabeltrace at this
point, and that it reads CTF as source.

For using libbabeltrace as CTF reader for a GUI, what would be the best examples
to look at as starting point ? Perhaps the babeltrace2 binary, or just adapt a
smaller example program and change the custom trace format source to "ctf.fs" ?
Or anything else ?



Mathieu Desnoyers
EfficiOS Inc.
lttng-dev mailing list

             reply	other threads:[~2021-06-14 20:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14 20:00 Mathieu Desnoyers via lttng-dev [this message]
2021-06-15 15:13 ` Philippe Proulx via lttng-dev
2021-06-15 15:57   ` Steven Rostedt via lttng-dev
2021-06-19  3:42     ` Philippe Proulx via lttng-dev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [lttng-dev] Usage example of libbabeltrace (babeltrace2) to read CTF traces from a GUI' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).