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

Code cleaning #18

Merged
merged 8 commits into from
Aug 22, 2019
Merged

Code cleaning #18

merged 8 commits into from
Aug 22, 2019

Conversation

sbernard31
Copy link
Contributor

See commit names/comments for details.
I advice to review commit by commit.

(This tasks is related to #6)

@sbernard31 sbernard31 added this to the 0.1.0 milestone Aug 22, 2019
@sbernard31 sbernard31 requested a review from oliwer August 22, 2019 14:51
Copy link
Contributor

@oliwer oliwer left a comment

Choose a reason for hiding this comment

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

👍

@@ -123,7 +118,7 @@ class Data(ct.Structure):

# Compile & attach bpf program
print("\nCompiling & attaching bpf code ...")
b = BPF(src_file ="ulb.c", debug=debug, cflags=["-Wno-incompatible-pointer-types", "-Wno-compare-distinct-pointer-types"])
b = BPF(src_file ="ulb.c", debug=debug)
Copy link
Contributor

Choose a reason for hiding this comment

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

Feature request: let the user to specify cflags using a CFLAGS environment variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I create a new issue about that : #19.
Do not hesitate to create new issue for feature request.

@sbernard31 sbernard31 merged commit 05c76ca into master Aug 22, 2019
This was referenced Aug 22, 2019
@sbernard31 sbernard31 deleted the clean branch August 26, 2019 13:10
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

2 participants