Skip to content

Splitting by owner & attach class

Step 4 of 9Concept
OWNERS
cilium/capture
CLASSES
tc/tp/uprobe
PROGS WALKED
1,250+ live
PROFILER COST
self-reported
  • NET_RX softirq preemption
  • 3-way attribution telemetry
  • kfree_skb / PMU signal
Measuring eBPF Overhead, step 4 of 9

A Kubernetes node runs 800–1,200 eBPF programs at once—most of them Cilium and systemd. Reporting one global eBPF total hides whose code grew.

Walking bpf_prog_get_next_id and bpf_link_get_next_id tags every program by owner (cilium, ebpf_5g_capture, agility_profiler, systemd) and attach class (tc_xdp, tracepoint, uprobe, kprobe, cgroup_sock).

What changed

  • One opaque eBPF % → split per owner (Cilium vs Capture vs Profiler)
  • Mixed hook costs → tc_xdp isolated from uprobe traps
  • Hidden profiler tax → profiler reports its own 3.1 MiB RSS & ns/run

Type to search…

↑↓ navigate↵ selectEsc close