Fix: don't generate 0-len array in tracepoint probes
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 30 May 2016 16:47:50 +0000 (18:47 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 31 May 2016 04:30:14 +0000 (06:30 +0200)
commit792310b7d57aa2b1731b8687fd5153b86caa6fb2
tree90ddd67775595d272619e038a982b6db892b2760
parent0cd1695fc2d07d8b7d4335a58e74fb3bc7aef329
Fix: don't generate 0-len array in tracepoint probes

It is forbidden by C99, and gcc/g++ in pedantic mode generates errors
for e.g. field-less events.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-tracepoint-event.h
This page took 0.02503 seconds and 4 git commands to generate.