iovisor / iovisor/bcc

Add support for persistent map fds throughout multiple python calls

Open
#619 6 comments 1 reaction 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.