Closed ScmTble closed 2 months ago
Hi @ScmTble not sure I understand the question or the exact code u are looking for but if u are referring to the code the read the hash tables in userspace https://github.com/netobserv/netobserv-ebpf-agent/blob/main/pkg/ebpf/tracer.go#L497 which is triggered from the eviction logic here https://github.com/netobserv/netobserv-ebpf-agent/blob/main/pkg/flow/tracer_map.go#L104
pls let me know if the above isn't what u are looking for
Thanks!!
Hi @ScmTble not sure I understand the question or the exact code u are looking for but if u are referring to the code the read the hash tables in userspace
main
/pkg/ebpf/tracer.go#L497 which is triggered from the eviction logic heremain
/pkg/flow/tracer_map.go#L104pls let me know if the above isn't what u are looking for
Thanks!!
Yes, thank you for your answer. I am a beginner in ebpf and have learned a lot from this project
Hello, I noticed the content about Flow collections docs in docs, but I couldn't find the relevant code in tracer. go. Did I miss anything? thanks