From: LI Ruoxiang via lttng-dev <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] How to use lttng-live plugin with babeltrace2 python api for live LTTng trace reading?
Date: Thu, 3 Aug 2023 16:44:08 +0000 [thread overview]
Message-ID: <OS3P286MB05492E608E11B8EF50A47421FF08A@OS3P286MB0549.JPNP286.PROD.OUTLOOK.COM> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 1021 bytes --]
Hi there,
I am currently involved in a project on designing a Python program for LTTng trace data analysis online. The following figure illustrates the program with a live trace data reader using babeltrace2 Python bindings (the yellow box) connected to the LTTng relay daemon. The program will read (such as periodically) the trace data from the relay daemon and then process them while the LLTng keeps tracing. The above “read” and “process” phases repeat in a loop.
[cid:4435d4c9-8a71-4667-bd25-21ef64401df9]
After reading the babeltrace2 documents, examples, and some source code, I found the lttng-live plugin may be an option for reading trace data from LTTng relay daemon. However, I didn't find any examples for using lttng-live plugin with babeltrace2 Python bindings. And I wonder if the Python bindings support the mentioned live LTTng trace reading for my case. Is it possible to receive any examples about the usage of babeltrace2’s live reading, if any?
Thank you.
Best,
Ruoxiang Li
[-- Attachment #1.1.2: Type: text/html, Size: 5130 bytes --]
[-- Attachment #1.2: image.png --]
[-- Type: image/png, Size: 51776 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next reply other threads:[~2023-08-03 18:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 16:44 LI Ruoxiang via lttng-dev [this message]
2023-08-08 21:29 ` Erica Bugden via lttng-dev
2023-08-11 2:50 ` [lttng-dev] [Ext] " LI Ruoxiang via lttng-dev
2023-08-14 19:55 ` Erica Bugden 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OS3P286MB05492E608E11B8EF50A47421FF08A@OS3P286MB0549.JPNP286.PROD.OUTLOOK.COM \
--to=lttng-dev@lists.lttng.org \
--cc=ruoxiang.li@my.cityu.edu.hk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox