From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id PtqPCXy1x2A6TwAAWB0awg (envelope-from ) for ; Mon, 14 Jun 2021 16:01:00 -0400 Received: by simark.ca (Postfix, from userid 112) id 176501F163; Mon, 14 Jun 2021 16:01:00 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B29121E54D for ; Mon, 14 Jun 2021 16:00:58 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4G3j4R4wWzzCGM; Mon, 14 Jun 2021 16:00:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1623700856; bh=LamtaIWKM77NXqnyC3wV43krGtlozziYBzZgBMkGfww=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=a3a9oUOnM71bTe2WSkKZRkflB4UB1regcRAEl/gBjQq0LcnWfawGBBdKeCP2EVDvW YsXca7palGeEYi24GrDyiLSL0++o4OHve1LlusuuqEbFatCQUpdN0WI+sChyGgiLaW /wOEYzQ/niq4hAMk0QmrmLrj+b2bEiNYAB4+5pcSKqgdcS1lTN6vYy3GG3yBasxDTM krrWo3YqEQyYa/snNgAJugXSnGuYUlEeMELDROmrjoQPo0XOwK8jXeRolaRtiSGapd oXkMKjtwZ7RJLFaomYZ5Jw21RezOJlTw7As9SJgLHCQuLRUEF+nrKu47XQhtkR9P7X IHYavtZl+qeUQ== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4G3j4Q0Z4JzCG9 for ; Mon, 14 Jun 2021 16:00:53 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id B61CB338C37; Mon, 14 Jun 2021 16:00:47 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RqnuwsdBNjmw; Mon, 14 Jun 2021 16:00:47 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 3B1EC338C36; Mon, 14 Jun 2021 16:00:47 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 3B1EC338C36 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1eXn_aLqtaBg; Mon, 14 Jun 2021 16:00:47 -0400 (EDT) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id 2CFC9338C35; Mon, 14 Jun 2021 16:00:47 -0400 (EDT) Date: Mon, 14 Jun 2021 16:00:47 -0400 (EDT) To: Philippe Proulx , Jeremie Galarneau , rostedt Cc: lttng-dev Message-ID: <1119833442.5505.1623700847146.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_4018 (ZimbraWebClient - FF89 (Linux)/8.8.15_GA_4026) Thread-Index: JSQsPrsm8IjR1ZwU6ECTP0Qsydf7og== Thread-Topic: Usage example of libbabeltrace (babeltrace2) to read CTF traces from a GUI Subject: [lttng-dev] Usage example of libbabeltrace (babeltrace2) to read CTF traces from a GUI X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mathieu Desnoyers via lttng-dev Reply-To: Mathieu Desnoyers Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" 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 ? Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev