* [lttng-dev] babeltrace API question
@ 2016-10-29 21:35 Sebastien Boisvert
2016-10-29 21:49 ` Philippe Proulx
0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Boisvert @ 2016-10-29 21:35 UTC (permalink / raw)
Hi,
I would like to add filter options to babeltrace.
I am exploring the babeltrace API.
When the type_id of a field (bt_declaration) is CTF_TYPE_INTEGER, how can one determine whether to use bt_ctf_get_uint64 or bt_ctf_get_int64 to retrieve the value ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] babeltrace API question
2016-10-29 21:35 [lttng-dev] babeltrace API question Sebastien Boisvert
@ 2016-10-29 21:49 ` Philippe Proulx
2016-10-30 8:51 ` Sebastien Boisvert
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Proulx @ 2016-10-29 21:49 UTC (permalink / raw)
On Sat, Oct 29, 2016 at 5:35 PM, Sebastien Boisvert <sboisvert at gydle.com> wrote:
> Hi,
>
>
> I would like to add filter options to babeltrace.
>
> I am exploring the babeltrace API.
I would strongly advise you NOT to use this API as we're about to
deprecate it in a few weeks when Babeltrace 2.0 is released. A whole new
API based on reference counts will be available when it's released and
you will be able to develop a filter plugin which can be inserted in a
graph of connected components where a stream of events and other
notifications flow.
In the meantime you can use the Python bindings (this API will remain
maintained) to achieve what you want.
Phil
>
>
> When the type_id of a field (bt_declaration) is CTF_TYPE_INTEGER, how can one determine whether to use bt_ctf_get_uint64 or bt_ctf_get_int64 to retrieve the value ?
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] babeltrace API question
2016-10-29 21:49 ` Philippe Proulx
@ 2016-10-30 8:51 ` Sebastien Boisvert
0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Boisvert @ 2016-10-30 8:51 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]
I look forward for this new API.
It sounds really cool.
Thanks
On 2016-10-29 11:49 PM, Philippe Proulx wrote:
> On Sat, Oct 29, 2016 at 5:35 PM, Sebastien Boisvert <sboisvert at gydle.com> wrote:
>> Hi,
>>
>>
>> I would like to add filter options to babeltrace.
>>
>> I am exploring the babeltrace API.
> I would strongly advise you NOT to use this API as we're about to
> deprecate it in a few weeks when Babeltrace 2.0 is released. A whole new
> API based on reference counts will be available when it's released and
> you will be able to develop a filter plugin which can be inserted in a
> graph of connected components where a stream of events and other
> notifications flow.
>
> In the meantime you can use the Python bindings (this API will remain
> maintained) to achieve what you want.
>
> Phil
>
>>
>> When the type_id of a field (bt_declaration) is CTF_TYPE_INTEGER, how can one determine whether to use bt_ctf_get_uint64 or bt_ctf_get_int64 to retrieve the value ?
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Dr. Sébastien BOISVERT, Ph.D.
Bioinformatics Software Specialist
GYDLE inc.
sboisvert at gydle.com
+33 6 67 99 71 50 (Mobile, France)
+33 4 92 28 02 50 (Fixe, France)
+33 9 70 44 44 07 (Skype, France)
+1 418 907 9377 # 380 (Gydle Québec Office)
+1 581 308 9999 (Mobile, Canada)
101-1332 Av. Chanoine Morel
Québec, QC G1S 4B4, Canada
http://www.gydle.com
signature v.2016-10-10.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-30 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-29 21:35 [lttng-dev] babeltrace API question Sebastien Boisvert
2016-10-29 21:49 ` Philippe Proulx
2016-10-30 8:51 ` Sebastien Boisvert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox