Is it doable to use raw's C instead of bcc's C?
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
For BPF_PROG_TYPE_SCHED_CLS/ACT, the upstream kernel has recently added feature to efficiently output skb + meta data efficiently: 555c8a8623a3 ("bpf: avoid stack copy and use skb ctx for event output")
It requires to use the higher 20bits of the third argument of the BPF_FUNC_perf_event_output and it probably requires to modify the bcc's perf_submit (or add another one).
It would be nice if bcc can directly take the raw's bpf C so that new kernel feature can be used immediately. Is there a way to do it? @drzaeus77
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.