Add support for persistent map fds throughout multiple python calls
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
I came across a situation where i want to have command line parameters for my python script for adding entries to a map or to remove entries from a map/clear a map.
For this purpose it would be nice if bcc would support some helper functions to store and load the map filedescriptors or attach the BPF object to an already running program.
I asked in irc and should open a feature request ticket. I haven't tried to pickle the whole bpf object, its on my todo list.
Maybe anyone has achieved what I try, if not such a feature would be very nice if you run your bpf program as a service rather than a utility.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named in the request. Start by tracing the Python script's BPF object and map file-descriptor handling; done means supporting map updates across separate calls and attaching to an already running program.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100