Re: [lttng-dev] babeltrace2 python api related question

2022-08-16 Thread 蛋丁 via lttng-dev
nent(comp_cls, 'my sink') >> >> # Connect the `out` output port of the `source.text.dmesg` component >> # to the `in` input port of the `sink.text.pretty` component. >> graph.connect_ports(src_comp.output_ports['out'], >> sink_comp.input_ports['in']) >> >

Re: [lttng-dev] babeltrace2 python api related question

2022-08-15 Thread Philippe Proulx via lttng-dev
gt; # to the `in` input port of the `sink.text.pretty` component. > graph.connect_ports(src_comp.output_ports['out'], sink_comp.input_ports['in']) > > # Run the trace processing graph. > graph.run() > > > > > > 发件人: Philippe Proulx > 发送时间: 2022年8月10日 22:08 >

[lttng-dev] babeltrace2 python api related question

2022-08-15 Thread zenan via lttng-dev
. graph.connect_ports(src_comp.output_ports['out'], sink_comp.input_ports['in']) # Run the trace processing graph. graph.run() 发件人: Philippe Proulx 发送时间: 2022年8月10日 22:08 收件人: zenan 抄送: lttng-dev@lists.lttng.org 主题: Re: [lttng-dev] babeltrace2 python api related question On Wed, Aug 10, 2022

Re: [lttng-dev] babeltrace2 python api related question

2022-08-10 Thread Philippe Proulx via lttng-dev
On Wed, Aug 10, 2022 at 9:54 AM zenan via lttng-dev wrote: > > > > Hi there, > > I’m trying to use babeltrace2 python bindings to track live lttng trace, as > shown in some examples in the documents, I tried to use ctf.lttng-live( > ctf.fs in the documents) plugin as source, and use text.pretty

[lttng-dev] babeltrace2 python api related question

2022-08-10 Thread zenan via lttng-dev
Hi there, I’m trying to use babeltrace2 python bindings to track live lttng trace, as shown in some examples in the documents, I tried to use ctf.lttng-live( ctf.fs in the documents) plugin as source, and use text.pretty as sink, but it didn’t work out as I expected. So does the api support