Feature request: inspect the size (not capacity) of BPF_HASH
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
Hey, merry Christmas & happy new year!
I’m just experimenting with eBPF atm and often find it handy to inspect the size (not capacity) of a BPF_HASH in a `bpf_trace_printk` call to determine how many keys there are in a map.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the BPF_HASH definition and the bpf_trace_printk entry point, then determine how a map's current key count can be exposed rather than its capacity. Done means a BPF_HASH user can inspect the number of keys in trace output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100