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

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. | |
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:
Create an event record channel summary with lttng_channel_create().
Destroy an event record channel summary with lttng_channel_destroy().
| uint32_t lttng_channel::enabled |
1 if this event record channel is enabled, or 0 otherwise.