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'])
>>
>
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
>
.
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
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
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