@@ -231,11 +231,22 @@ static int in_ebpf_exit(void *in_context, struct flb_config *config) {
231231}
232232
233233static struct flb_config_map config_map [] = {
234- {FLB_CONFIG_MAP_STR , "ringbuf_map_name" , FLB_IN_EBPF_DEFAULT_RINGBUF_MAP_NAME , 0 , FLB_TRUE ,
235- offsetof(struct flb_in_ebpf_context , ringbuf_map_name )},
236- {FLB_CONFIG_MAP_INT , "poll_ms" , FLB_IN_EBPF_DEFAULT_POLL_MS , 0 , FLB_TRUE ,
237- offsetof(struct flb_in_ebpf_context , poll_ms )},
238- {FLB_CONFIG_MAP_STR , "Trace" , NULL , FLB_CONFIG_MAP_MULT , FLB_FALSE , 0 },
234+ {
235+ FLB_CONFIG_MAP_STR , "ringbuf_map_name" , FLB_IN_EBPF_DEFAULT_RINGBUF_MAP_NAME ,
236+ 0 , FLB_TRUE , offsetof(struct flb_in_ebpf_context , ringbuf_map_name ),
237+ "Set the name of the BPF ring buffer map to read events from"
238+ },
239+ {
240+ FLB_CONFIG_MAP_INT , "poll_ms" , FLB_IN_EBPF_DEFAULT_POLL_MS ,
241+ 0 , FLB_TRUE , offsetof(struct flb_in_ebpf_context , poll_ms ),
242+ "Set the polling interval in milliseconds for collecting events"
243+ },
244+ {
245+ FLB_CONFIG_MAP_STR , "Trace" , NULL ,
246+ FLB_CONFIG_MAP_MULT , FLB_FALSE , 0 ,
247+ "Set the eBPF trace to enable (for example, bind, malloc, signal). Can be set multiple times"
248+ },
249+ /* EOF */
239250 {0 }
240251};
241252
0 commit comments