Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update uprobe and uretprobe support #513

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sanfern
Copy link
Contributor

@sanfern sanfern commented Jan 8, 2025

Implementing support for uprobe and uretprobe type in eBPF programs

@sanfern sanfern force-pushed the sanfern-uprobe-update branch 2 times, most recently from d002d76 to acca863 Compare January 17, 2025 08:05
@sanfern sanfern changed the title Update uprobe support Update uprobe and uretprobe support Jan 20, 2025
@sanfern sanfern force-pushed the sanfern-uprobe-update branch from acca863 to 110bf20 Compare January 20, 2025 04:55
@sanfern sanfern marked this pull request as ready for review January 20, 2025 04:56
symbol = funcNames[0]
} else {
symbol = funcNames[len(funcNames)-1]
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make the above code as function, like symbol = getSymbol(hookName)? Therefore eliminate the if else below and keep the case statement for Uprobe and URetProbe separated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants