Closed fntlnz closed 2 years ago
Just curious ... why was this change necessary?
@nicholasberlin we're trying to keep file events compatible with kernels >= 5.10, the bpf_get_current_task_btf
is not available there.
@nicholasberlin correct, and we need to go trough all the other parts in the code base that use the same helper and change the functions we pass the task structn to accordingly. Opened an issue for tracking this https://github.com/elastic/ebpf/issues/66
Co-Authored-By: Leonardo Di Donato leonardo.didonato@elastic.co Co-Authored-By: Mattia Meleleo mattia.meleleo@elastic.co