![]() |
LTTng control library C API
|
#include <channel.h>

Data Fields | |
| struct lttng_channel_attr | attr |
| Other properties. | |
| uint32_t | enabled |
| 1 if this channel is enabled, or 0 otherwise. | |
| char | name [LTTNG_SYMBOL_NAME_LEN] |
| Name. | |
Channel summary.
The purpose of such a structure is to provide information about a 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 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:
Create a channel summary with lttng_channel_create().
Destroy a channel summary with lttng_channel_destroy().
| uint32_t lttng_channel::enabled |
1 if this channel is enabled, or 0 otherwise.