Project

General

Profile

Actions

Bug #379

closed

Consumerd is not handling the ENODATA of the kernel tracer on subbuffer read

Added by David Goulet over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
10/16/2012
Due date:
% Done:

100%

Estimated time:

Description

On subbuffer read, if the kernel tracer returns -ENODATA (possible if the finalize flag is set on the tracer side), the consumer threads are not handling it so they just stop.


Files

bug379-fix.diff (1.19 KB) bug379-fix.diff David Goulet, 10/16/2012 02:46 PM
Actions #1

Updated by David Goulet over 11 years ago

Here is a fix to be reviewed.

Actions #2

Updated by Mathieu Desnoyers over 11 years ago

the fix looks good to me.

--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

Actions #3

Updated by David Goulet over 11 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF