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

Add note about getting sys/socket.h #3055

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

jordalgo
Copy link
Contributor

As per this discussion: #3054

Checklist
  • Language changes are updated in man/adoc/bpftrace.adoc
  • User-visible and non-trivial changes updated in CHANGELOG.md
  • The new behaviour is covered by tests

@@ -22,6 +22,7 @@
#include <linux/socket.h>
#include <net/sock.h>
#else
// Note you may need to install the glibc-headers package or other package containing sys/socket.h, which contains the AF_INET and AF_INET6 macros
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: wrap at 80 chars?

@jordalgo jordalgo merged commit d2f1379 into bpftrace:master Mar 15, 2024
19 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.

None yet

2 participants