From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id IURkI21d9mLuryUAWB0awg (envelope-from ) for ; Fri, 12 Aug 2022 10:02:21 -0400 Received: by simark.ca (Postfix, from userid 112) id 821CC1E5EA; Fri, 12 Aug 2022 10:02:21 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=ccUzkUw3; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,HTML_OBFUSCATE_05_10, MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 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 6338D1E21F for ; Fri, 12 Aug 2022 10:02:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1660312939; bh=Q/gzTU6XYvUl41b2NzTQMzZiKAmgFJvlYJPDFGSqaOY=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ccUzkUw3hBZFS5xV0p3+nC4YSL7VWegu3V1ucSyyibmp9NxEKFYYt/yoKg4fC5q0l Xc5jbjhZszrZwYQm6mRfqQXory8OkJK6BwK4MFS58DvyN6wgmurqw5kQL0R4uRNshg HA1z/I68qBAyfmcKj2b+4bo1lFBZMqQobeoPYElY5Y+MCgFGQk8qJ3vZCrYy/QLHq2 G24wfRjDjldK/dL6XdUP5fp94j7sh+xZS6pNEQT2Sf7LEFByW0Ubar95HbcPbDgbJh CqPEOnnZxHwtY78Q9OUgaMQcT3HkXrJsJf6uDObLMqH1X+PfGJl+kbPCJbzJnkD47d GST8ek17EkgOw== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4M452z4mX2z1DyV; Fri, 12 Aug 2022 10:02:19 -0400 (EDT) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lists.lttng.org (Postfix) with ESMTPS id 4M445K0Y0jz1F41 for ; Fri, 12 Aug 2022 09:19:16 -0400 (EDT) Received: by mail-ej1-x635.google.com with SMTP id tl27so2013853ejc.1 for ; Fri, 12 Aug 2022 06:19:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=uUeyxk09EOAsrdPpoER/Jp04DnBYVpd5fvUbJyIbF2w=; b=Am4aUHEMWcvJ/l4tLValt6gMuJq7yeMa64mhxXwS1xe4xOPOMCqcS3Hd759oM8aOwm xy3LKZbctZ/hwC2TBdlbcaK7Nklsduw0C3tQneMQPeHGrMty7S27ugbxE7bFvUPI7ZXS cq/VPpsFaLVOty2xgDpccFX1A+cj6nHUEgVyo5abrF3iZltMghdnoV0TApxn11ASf4MO wucyFSIKnqdzalmt3QBf1iunxbQsZPvHHz0vly2vGR9FuaPwON3wa7pO1GKcZGcZaPv9 fXPZCPXkcnh4SjlQVTLqdbhaot8BImE09j84bF4vZrp7F++AQtXoMubLK+aKBzGCmQoo 5Wng== X-Gm-Message-State: ACgBeo18haB6hgTtlHWtqOPFS3apiZqROQcPWQZV/ER3yVYqfnMc4FU9 zyZOYibddlMC3YnPaqCMBcM0jubp9YLjBWnmOOC0H+7eQz0= X-Google-Smtp-Source: AA6agR6b4sw9hSRzH3lUqsikwy/zOMYKHTH+O1M/rQu8sSdxPIJeAru0RSJWaoXxb1bPxsp/Jjf59BNMlZsfWP1J+8k= X-Received: by 2002:a17:906:93f0:b0:730:6d25:8a1e with SMTP id yl16-20020a17090693f000b007306d258a1emr2652769ejb.431.1660310355783; Fri, 12 Aug 2022 06:19:15 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 12 Aug 2022 15:19:04 +0200 Message-ID: To: lttng-dev@lists.lttng.org X-Mailman-Approved-At: Fri, 12 Aug 2022 10:02:17 -0400 Subject: [lttng-dev] C API message iterator example for libbabeltrace2 X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Maksim Khmelevskiy via lttng-dev Reply-To: Maksim Khmelevskiy Content-Type: multipart/mixed; boundary="===============1638832728001520186==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============1638832728001520186== Content-Type: multipart/alternative; boundary="000000000000f936e405e60b20a9" --000000000000f936e405e60b20a9 Content-Type: text/plain; charset="UTF-8" Hi, there is a nice py message iterator example but for C API only plugins are covered with examples, do you think it would make sense to create an example of a standalone application which simply uses `source.ctf.fs` as source and iterates over all messages? It would be nice hint for those who want to see an example of graph creation with all the code in one file. I'm interested in that example because I want to transform CTF file into list of C structures representing messages. Thank you! --000000000000f936e405e60b20a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --000000000000f936e405e60b20a9-- --===============1638832728001520186== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============1638832728001520186==--