cilium / ebpf

ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

Home Page:https://ebpf-go.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The initial load of BTF using CO-RE mode takes up 40MB of memory

xlango opened this issue · comments

Describe the bug

The initial load of BTF using CO-RE mode takes up 40MB of memory

How to reproduce

use CO-RE BTF

Version information

github.com/cilium/ebpf v0.12.3

Please provide adequate steps to reproduce, in the best case you can create a git repository with a readme in it somewhere. Also include how you measure "takes 40MB of memory". Via top? Something else?