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

fix ebpf init race segfault #2695

Merged
merged 2 commits into from
Jul 7, 2017
Merged

fix ebpf init race segfault #2695

merged 2 commits into from
Jul 7, 2017

Conversation

rade
Copy link
Member

@rade rade commented Jul 7, 2017

We defer starting the ebpf tracer until we've set the global var which is referenced by the callback functions. Previously the var could be unset when the callbacks are invoked, resulting in a segfault.

...and then we eliminate the global var altogether :)

Fixes #2687.

rade added 2 commits July 7, 2017 06:56
We defer starting the ebpf tracer until we've set the global var which
is referenced by the callback functions. Previously the var could be
unset when the callbacks are invoked, resulting in a segfault.

Fixes #2687.
@rade rade requested a review from ekimekim July 7, 2017 11:13
@rade rade merged commit 1abc886 into master Jul 7, 2017
@dlespiau dlespiau deleted the 2687-ebpf-init-race-segfault branch November 2, 2017 12:29
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