---
title: "Tracking which pod actually paid"
---

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

# Tracking which pod actually paid

Pillar 2 attaches CO-RE tracepoints to `softirq_entry` and `softirq_exit`, keying every `NET_RX`, `NET_TX`, `RCU`, `TIMER`, and `SCHED` interrupt by `bpf_get_current_cgroup_id()`.

Resolved locally from `/sys/fs/cgroup/kubepods.slice` and `/var/log/pods` (zero K8s API traffic), each pod's *preempted softirq time* sits side-by-side next to its own `cgroup v2 cpu.stat`.

> **Key idea:** Showing exact eBPF ns/run beside per-pod preempted softirq time and pod cgroup CPU on one screen settles the accounting disagreement permanently.

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