Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ebpf): remove path copy in get_path_str_buf
The helper previously copied the path argument into a stack allocated copy. This is an unnecessary copy, and risks copying the wrong size, since the actual kernel specific size may differ from the compiler allocated size. Instead, use CORE_READ to access the necessary fields directly from the argument.
- Loading branch information