Project

General

Profile

Feature #336

Support splice() for partial pages

Added by David Goulet about 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
09/13/2012
Due date:
% Done:

0%

Estimated time:

Description

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.

#1

Updated by Mathieu Desnoyers almost 8 years ago

  • Target version set to 2.2
#2

Updated by Mathieu Desnoyers almost 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.

#3

Updated by Christian Babeux over 7 years ago

  • Priority changed from Normal to Low
  • Target version deleted (2.2)
#4

Updated by Christian Babeux over 6 years ago

  • Tracker changed from Bug to Feature

Also available in: Atom PDF