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:56 +0000 (06:30 +0200)
commit0febf0188de9401f656cc5963cd5893b2f0169a4
tree365240186ba1dcd77e16125057f7dc3047fb8415
parent3d0d3c94e65eaf1b7af3be30f3f5906d18f260a5
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.026811 seconds and 4 git commands to generate.