|
Motr
M0
|

Data Fields | |
| struct tentry | ma_label [M0_ADDB2_LABEL_MAX] |
| struct buffer * | ma_cur |
| struct m0_tl | ma_idle |
| m0_bcount_t | ma_idle_nr |
| struct m0_tl | ma_busy |
| m0_bcount_t | ma_busy_nr |
| uint32_t | ma_nesting |
| bool | ma_stopping |
| const struct m0_addb2_mach_ops * | ma_ops |
| struct m0_mutex | ma_lock |
| struct m0_addb2_source | ma_src |
| struct m0_addb2_record | ma_rec |
| void * | ma_cookie |
| struct m0_semaphore | ma_idlewait |
| struct m0_tlink | ma_linkage |
| m0_time_t | ma_packed |
| unsigned | ma_sensor_skip |
| uint64_t | ma_magix |
| char | ma_name [100] |
| char | ma_last [100] |
| struct m0_tl ma_busy |
The list of buffers submitted for processing (by calling m0_addb2_mach_ops::apo_submit()).
The current buffer gets to this list when it becomes full (pack()).
A buffers gets off this list when m0_addb2_trace_done() is called against it.
| m0_bcount_t ma_busy_nr |
| void* ma_cookie |
Opaque cookie, passed to m0_addb2_mach_init() and returned by m0_addb2_cookie().
| struct m0_tl ma_idle |
The list of buffers ready to be used.
A buffer gets to this list when it is newly allocated (buffer_alloc()).
A buffer gets off this list when it becomes current (mach_buffer()).
| m0_bcount_t ma_idle_nr |
| struct m0_semaphore ma_idlewait |
| struct tentry ma_label[M0_ADDB2_LABEL_MAX] |
| struct m0_tlink ma_linkage |
| struct m0_mutex ma_lock |
| uint32_t ma_nesting |
| const struct m0_addb2_mach_ops* ma_ops |
| m0_time_t ma_packed |
| struct m0_addb2_record ma_rec |
| unsigned ma_sensor_skip |
The number of sensors to skip when creating a new buffer. This is used to limit the amount of buffer space consumed by sensors.
| struct m0_addb2_source ma_src |
This machine as a source of addb2 records. Online CONSUMERS register with this.
| bool ma_stopping |