---
title: "Splitting by owner & attach class"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Splitting by owner & attach class

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

Source: https://example.com/ebpf-field-guide/tracing-security-and-overhead/measuring-overhead/owners/index.mdx
