iovisor / iovisor/bcc

bcc use c++ instead of python

Open
#2,773 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Hi all,

I am taking the example of http_filter provided in bcc iovisor and trying to convert it to c++ but I am stuck with the line:

function_http_filter = bpf.load_func("http_filter", BPF.SOCKET_FILTER)

Can someone tell me the equivalent in c++?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the bcc iovisor http_filter example and the Python call shown in the issue. Trace how the http_filter socket-filter function is loaded, then document the corresponding C++ usage and verify that the example can perform the same load successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
networking, operating-systems, tooling
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.