eunomia-bpf / eunomia-bpf/bpf-developer-tutorial
我在abc.bpf. c中 需要ring buffer,即使我不需要abc. h这样一个头文件,但是只要abc.bpf. c文件不include abc.h,ecli run就会显示export map named rb found,but no export type is provide。我为什么一定需要自定义一个头文件并且引用?为什么不能将头文件中的结构体类型直接放在. c文件中?否则就不能运行?
Open
- Dominant language
- C
- Stars
- 4.3k
- Forks
- 602
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 1
Description
主要定义ringbuf的 SEC(". map")就会出错
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.