Refactoring: Introduce extensibility scheme for tracepoint structures
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Mar 2021 16:44:51 +0000 (12:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Mar 2021 17:04:38 +0000 (13:04 -0400)
commitf641d544ea2630c5a52c0cbc5db947d34461cea7
treebdb935bd0e72ccec5dbcc1454df8c301c5b7199e
parent31624f6cf986d7e7761847f66562c97bc773a02c
Refactoring: Introduce extensibility scheme for tracepoint structures

- Introduce struct_size extensibility scheme for all tracepoint public
  structures, except for struct lttng_ust_tracepoint_probe which is
  embedded in a public array of structures, thus making it tricky for
  instrumentation sites to efficiently skip over the array elements
  without reading their size.
- Remove padding from those structures.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I2387a62c03f6f729c59ddc3fafa3a9b5546fb287
include/lttng/tracepoint-types.h
include/lttng/tracepoint.h
This page took 0.028782 seconds and 4 git commands to generate.