From: David Goulet Date: Mon, 17 Sep 2012 15:57:07 +0000 (-0400) Subject: Fix: Consumer return value check after mmap/splice X-Git-Tag: v2.1.0-rc4~27 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=91dfef6e2f50460b9597fc8a8186949c48557c14;hp=91dfef6e2f50460b9597fc8a8186949c48557c14;p=lttng-tools.git Fix: Consumer return value check after mmap/splice With the feature of not sending the trace file padding over the network for streaming, the return value of mmap or splice failed to match the passed value when the trace is written on disk since we ignore the padding for that case. However, this was simply to print an error message so no behavior is changed with this patch. Detail comments were added to explain this "complex" return value check. Signed-off-by: David Goulet ---