GSoC Project | Basic Support for Trace Compass
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Jul 16 11:13:36 UTC 2019
On 16/07/2019 13:06, Ravindra Kumar Meena wrote:
> Very good, please change now the format of the event header to the one
> used by LTTNG:
>
> struct event_header_compact {
> enum : uint5_t { compact = 0 ... 30, extended = 31 } id;
> variant <id> {
> struct {
> uint27_clock_monotonic_t timestamp;
> } compact;
> struct {
> uint32_t id;
> uint64_clock_monotonic_t timestamp;
> } extended;
> } v;
> } align(8);
>
>
> We need it in client-side also. I think C does not have variant data type.
In C you can do everything what software can do.
You should have already a Git clone of lttng-ust. In
"liblttng-ust/lttng-ring-buffer-client.h" see lttng_write_event_header().
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list