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

examples/c: improve uprobe with function name #203

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

yunwei37
Copy link
Contributor

The code changes in this commit is trying to improve the functionality of the uprobe by using the function name instead of the function offset, with bpf_program__attach_uprobe_opts.

This change is made to simplify the code and make it more readable.

It has been tested locally.

The code changes in this commit improve the functionality
of the uprobe by using the function name instead of the
function offset. This change is made to simplify the code
and make it more readable.

Signed-off-by: yunwei37 <[email protected]>
@anakryiko anakryiko merged commit 11750e4 into libbpf:master Aug 22, 2023
8 checks passed
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