Project

General

Profile

Actions

Feature #336

open

Support splice() for partial pages

Added by David Goulet almost 9 years ago. Updated about 7 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.

Actions #1

Updated by Mathieu Desnoyers over 8 years ago

  • Target version set to 2.2
Actions #2

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

Actions #3

Updated by Christian Babeux about 8 years ago

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

Updated by Christian Babeux about 7 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF