* [lttng-dev] Are arrays allowed in event payload?
@ 2017-09-25 19:41 Nwafor, Ebelechukwu
2017-09-25 19:56 ` Philippe Proulx
0 siblings, 1 reply; 2+ messages in thread
From: Nwafor, Ebelechukwu @ 2017-09-25 19:41 UTC (permalink / raw)
Hello All
I am new to barectf. I am trying to define my yaml configuration and i keep
getting an error whenever i try to compile my configuration. I was
wondering if arrays are allowed in the event payload section and if yes how
are they defined?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20170925/9983d7ae/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] Are arrays allowed in event payload?
2017-09-25 19:41 [lttng-dev] Are arrays allowed in event payload? Nwafor, Ebelechukwu
@ 2017-09-25 19:56 ` Philippe Proulx
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Proulx @ 2017-09-25 19:56 UTC (permalink / raw)
On Mon, Sep 25, 2017 at 3:41 PM, Nwafor, Ebelechukwu
<ebelechukwu.nwafor at bison.howard.edu> wrote:
> Hello All
>
> I am new to barectf. I am trying to define my yaml configuration and i keep
> getting an error whenever i try to compile my configuration. I was wondering
> if arrays are allowed in the event payload section and if yes how are they
> defined?
What is the error?
As per the project's README.md:
> CTF compound types (array, sequence, structure, variant) are not
> supported yet, except at some very specific locations in the metadata.
In fact, the only "very specific location" is the trace packet header's
`uuid` field which must be an array of 16 8-bit integers. This `uuid`
field is handled as a special case when generating the tracer:
<https://github.com/efficios/barectf/blob/v2.2.1/barectf/gen.py#L852>.
There's currently no generic way in barectf to generate C code which
writes an array of elements to the current packet buffer.
Supporting compound types is a feature request which often comes up (in
LTTng-UST too).
Phil
>
>
> Thanks.
>
>
>
> _______________________________________________
> 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] 2+ messages in thread
end of thread, other threads:[~2017-09-25 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25 19:41 [lttng-dev] Are arrays allowed in event payload? Nwafor, Ebelechukwu
2017-09-25 19:56 ` Philippe Proulx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox