mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-04 08:04:49 +00:00
update(open_inspector): use variable buffer dim in modern bpf
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
This commit is contained in:
@@ -78,7 +78,7 @@ application::run_result application::open_live_inspector(
|
|||||||
else if(m_options.modern_bpf) /* modern BPF engine. */
|
else if(m_options.modern_bpf) /* modern BPF engine. */
|
||||||
{
|
{
|
||||||
falco_logger::log(LOG_INFO, "Starting capture with modern BPF probe.");
|
falco_logger::log(LOG_INFO, "Starting capture with modern BPF probe.");
|
||||||
inspector->open_modern_bpf(DEFAULT_DRIVER_BUFFER_BYTES_DIM, m_state->ppm_sc_of_interest, m_state->tp_of_interest);
|
inspector->open_modern_bpf(m_state->syscall_buffer_bytes_size, m_state->ppm_sc_of_interest, m_state->tp_of_interest);
|
||||||
}
|
}
|
||||||
else if(getenv(FALCO_BPF_ENV_VARIABLE) != NULL) /* BPF engine. */
|
else if(getenv(FALCO_BPF_ENV_VARIABLE) != NULL) /* BPF engine. */
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user