Project

General

Profile

Actions

Bug #378

closed

Incomplete metadata for user space tracing

Added by David Goulet about 12 years ago. Updated about 12 years ago.

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

100%

Estimated time:

Description

Test case:

$ lttng create
$ lttng enable-event -a -u
$ lttng start
$ [running 50 times demo-trace of lttng-ust]
$ lttng stop

At this point, some traces are missing metadata (only 4096 where should be 8092 bytes).


Files

bug378-fix.diff (833 Bytes) bug378-fix.diff Not final nor upstream. Need review. David Goulet, 10/16/2012 01:56 PM
Actions #1

Updated by David Goulet about 12 years ago

The issue here is that the metadata thread does not read all the available data when the metadata fd hung up.

The attached patch fixes the issue and also allow the metadata thread to continue if a buffer read error occurs.

Actions #2

Updated by David Goulet about 12 years ago

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

Also available in: Atom PDF