Project

General

Profile

Actions

Feature #336

open
DG

Support splice() for partial pages

Feature #336: Support splice() for partial pages

Added by David Goulet about 13 years ago. Updated over 11 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.

MD Updated by Mathieu Desnoyers almost 13 years ago Actions #1

  • Target version set to 2.2

MD Updated by Mathieu Desnoyers almost 13 years ago Actions #2

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.

CB Updated by Christian Babeux over 12 years ago Actions #3

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

CB Updated by Christian Babeux over 11 years ago Actions #4

  • Tracker changed from Bug to Feature
Actions

Also available in: PDF Atom