From mboxrd@z Thu Jan 1 00:00:00 1970 From: eeppeliteloop@gmail.com (Philippe Proulx) Date: Mon, 25 Sep 2017 15:56:21 -0400 Subject: [lttng-dev] Are arrays allowed in event payload? In-Reply-To: References: Message-ID: On Mon, Sep 25, 2017 at 3:41 PM, Nwafor, Ebelechukwu 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: . 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 >