LTTng control library C API
Loading...
Searching...
No Matches

Event record channel summary. More...

#include <channel.h>

Collaboration diagram for lttng_channel:

Data Fields

struct lttng_channel_attr attr
 Other properties.
 
uint32_t enabled
 1 if this event record channel is enabled, or 0 otherwise.
 
char name [LTTNG_SYMBOL_NAME_LEN]
 Name.
 

Detailed Description

Event record channel summary.

The purpose of such a structure is to provide information about an event record channel itself, but not about its recording event rules (use lttng_list_events() for this).

lttng_list_channels() sets a pointer to an array of all the event record channel summaries of a given recording session and tracing domain.

Most properties are part of the lttng_channel::attr member, but the following ones have their own dedicated accessors:

Buffer allocation policy

Monitor timer period

Watchdog timer period

Blocking timeout

Create an event record channel summary with lttng_channel_create().

Destroy an event record channel summary with lttng_channel_destroy().

Field Documentation

◆ enabled

uint32_t lttng_channel::enabled

1 if this event record channel is enabled, or 0 otherwise.

See also
lttng_enable_channel() – Creates or enables an event record channel.
lttng_disable_channel() – Disables an event record channel.