iovisor / iovisor/bcc

bcc_usdt_foreach and bcc_usdt_foreach_uprobe should allow for user data

Open
#2,065 2 comments 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

`bcc_usdt_foreach` and `bcc_usdt_foreach_uprobe` do not currently accommodate passing user data through to the callback, making it complicated to bind these interfaces in languages where closures are more complicated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the definitions and callback signatures for bcc_usdt_foreach and bcc_usdt_foreach_uprobe. Trace how each callback is invoked and determine how user data should pass through to it. Done means both interfaces accept user data and make it available to the callback without breaking existing callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.