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:07 +0000 (06:30 +0200)
commit1c80c9098052ff7a07bb43df084c0f9d2b2e278c
treed42a4a21efc5df3a0172a5099ee44161341eff75
parentba5b4491f94109eaca10b2c285f8d1f116a38e5c
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.026371 seconds and 4 git commands to generate.