OpenCloudOS / nettrace

nettrace is a eBPF-based tool to trace network packet and diagnose network problem.
Other
326 stars 80 forks source link

nettrace: disable preserve_access_index in vmlinux.h #75

Closed menglongdong closed 1 year ago

menglongdong commented 1 year ago

The "preserve_access_index" in vmlinux.h makes all probe read CO-RE, but we need to disable CO-RE in some case. Therefore, disable the global CO-RE by adding "-DBPF_NO_PRESERVE_ACCESS_INDEX".

close #34