This specifies the hard limit for frame sizes, in bytes. Currently, the value that can be specified should be less than or equal to ‘32767’. Defaults to whatever limit is imposed by the version of the Linux kernel targeted.
Generate code for a big-endian target.
Generate code for a little-endian target. This is the default.
Enable or disable generation of extra conditional-branch instructions. Enabled for CPU v2 and above.
Enable or disable generation of 32-bit jump instructions. Enabled for CPU v3 and above.
Enable or disable generation of 32-bit ALU instructions. Enabled for CPU v3 and above.
Enable or disable instructions for general atomic operations introduced in CPU v3. Enabled for CPU v3 and above.
Enable or disable byte swap instructions. Enabled for CPU v4 and above.
Enable or disable signed division and modulus instructions. Enabled for CPU v4 and above.
Enable or disable sign-extending move and memory load instructions. Enabled for CPU v4 and above.
This specifies which version of the eBPF ISA to target. Newer versions may not be supported by all kernels. The default is ‘v4’.
Supported values for version are:
The first stable eBPF ISA with no special features or extensions.
Supports the jump extensions, as in -mjmpext.
All features of v2, plus:
All features of v3, plus:
Enable BPF Compile Once - Run Everywhere (CO-RE) support. Requires and is implied by -gbtf.
Disable BPF Compile Once - Run Everywhere (CO-RE) support. BPF CO-RE support is enabled by default when generating BTF debug information for the BPF target.
Generate code for an expanded version of BPF, which relaxes some of the restrictions imposed by the BPF architecture:
Outputs assembly instructions using eBPF selected dialect. The default is ‘normal’.
Supported values for dialect are:
Outputs normal assembly dialect.
Outputs pseudo-c assembly dialect.