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

Destruct USDTContext correctly in Python #1585

Merged
merged 1 commit into from
Feb 10, 2018

Conversation

palmtenor
Copy link
Member

Currently the Python USDT class creates a C++ USDTContext on construct but does nothing on destruct. This is normally fine. However, for USDT that has Semaphore, this means BCC tools won't decrease / disable the semaphore on exit and leaving the USDT still enabled. This commit fixes the issue.

@4ast 4ast merged commit cbfd285 into iovisor:master Feb 10, 2018
@palmtenor palmtenor deleted the usdt_destruct branch February 12, 2018 18:49
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.

None yet

3 participants