You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default clang uses -mcpu=probe, which attempts to probe the current kernel to detect what eBPF features it can use / will be accepted by the kernel verifier.
It can also explicitly be set to v1, v2 or v3. Expose this (or maybe a generic means of passing flags to clang) to allow users to set this. It's useful for those that compile eBPF on one machine, and run it on another.
The text was updated successfully, but these errors were encountered:
By default
clang
uses-mcpu=probe
, which attempts to probe the current kernel to detect what eBPF features it can use / will be accepted by the kernel verifier.It can also explicitly be set to
v1
,v2
orv3
. Expose this (or maybe a generic means of passing flags to clang) to allow users to set this. It's useful for those that compile eBPF on one machine, and run it on another.The text was updated successfully, but these errors were encountered: