Project

General

Profile

Actions

Feature #955

closed

Expose buffer overwritten information in LTTng-UST and LTTng-modules

Added by Julien Desfossez over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Julien Desfossez
Target version:
Start date:
10/19/2015
Due date:
% Done:

0%

Estimated time:

Description

Expose information about overwritten stream packets through the LTTng toolchain, from the kernel and user-space tracers, through the consumer daemon and relay damon, down to Babeltrace, the LTTng trace reader.

It will require adding sequence numbering to the trace packets (a 64-bit unsigned integer), which will allow tracking gaps in the sequence, thus informing the Babeltrace end-user about missing packets on the error output.

In addition, expose packet and events discarded information through the LTTng API. LTTng API will allow querying the number of dropped events and discarded packets on a per-channel basis. Also add this information on the LTTng UI. The session list command will be enhanced with this information, showing it in the session list outtput on a per-channel basis. Finally, a warning will be output when stopping and/or destroying a session that had drop packets/discarded events.

Actions

Also available in: Atom PDF