Re: [lttng-dev] C API message iterator example for libbabeltrace2

2022-08-24 Thread Simon Marchi via lttng-dev
On 8/20/22 12:14, Maksim Khmelevskiy via lttng-dev wrote: > Hi Simon, > thanks for the reply! > What I came up with for now is this example > . > It's probably has a lot of design mistakes but it's at least runnab

Re: [lttng-dev] C API message iterator example for libbabeltrace2

2022-08-22 Thread Maksim Khmelevskiy via lttng-dev
Hi Simon, thanks for the reply! What I came up with for now is this example . It's probably has a lot of design mistakes but it's at least runnable. I also see that examples for C API aren't build, but maybe I'm wr

Re: [lttng-dev] C API message iterator example for libbabeltrace2

2022-08-19 Thread Simon Marchi via lttng-dev
On 8/12/22 09:19, Maksim Khmelevskiy via lttng-dev wrote: > 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 standal