Support splice() for partial pages
Network streaming does NOT send the padded zeros over the network.
So, to extract data, we only use the real size of the subbuffer (without padding). However, the splice() actor of lttng-modules does not handle passing a partial page size to it returning EINVAL.
Once done, the support MUST be added to lttng-tools.
Updated by Mathieu Desnoyers about 8 years ago
This problem has mainly been reported by developers modifying lttng-consumerd. I suspect there might be an issue with handling of e.g. small or odd len values passed to splice() within the lttng-modules splice actor. Would need to try fuzzing the splice system call to reproduce.