-
Notifications
You must be signed in to change notification settings - Fork 733
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 compile errors on Linux 5.6 due to timespec / timeval #1621
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very nice for the most part, but please remove that ASSERT :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice approach @nathan-b - I was looking at this issue myself too and came up with a totally different approach, but wow I like this much more than mine!
I added some comments here and there, minor things.
I also noticed this PR does not affect the bpf driver yet, is that intended:
- https://github.com/draios/sysdig/blob/y2038/driver/bpf/fillers.h#L929
- https://github.com/draios/sysdig/blob/y2038/driver/bpf/fillers.h#L543
Thanks
Thanks for the comments everyone! Trying again ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please take a look at BPF if you can :)
@fntlnz wanna take a look at the eBPF changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adapt upstream sysdig changes (draios/sysdig#1621 and draios/sysdig#1672) to fix compile errors on due to timespec / timeval and kernel module compilation on 5.8 # Conflicts: # driver/bpf/fillers.h # driver/kernel_hacks.h # driver/main.c # driver/ppm.h # driver/ppm_fillers.c
Adapt upstream sysdig changes (draios/sysdig#1621 and draios/sysdig#1672) to fix compile errors on due to timespec / timeval and kernel module compilation on 5.8 # Conflicts: # driver/bpf/fillers.h # driver/kernel_hacks.h # driver/main.c # driver/ppm.h # driver/ppm_fillers.c
No description provided.