Skip to content

Commit

Permalink
fix(csysdig): fix cpu usage on modern bpf
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Jan 4, 2024
1 parent 73c07b9 commit 2107351
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions userspace/sysdig/utils/sinsp_opener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void sinsp_opener::open(sinsp* inspector) const
if(bpf.modern)
{
inspector->open_modern_bpf(DEFAULT_DRIVER_BUFFER_BYTES_DIM, bpf.cpus_for_each_syscall_buffer, true, sc_of_interest);
inspector->set_get_procs_cpu_from_driver(true);
return;
}
#endif
Expand Down

0 comments on commit 2107351

Please sign in to comment.