Introduce BPF_F_TEST_STATE_FREQ flag to stress test parentage chain and state pruning.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -285,6 +285,9 @@ enum bpf_attach_type { · 284 unmodified lines | |||
| 285 | */ | 285 | */ |
| 286 | #define BPF_F_TEST_RND_HI32 (1U << 2) | 286 | #define BPF_F_TEST_RND_HI32 (1U << 2) |
| 287 | 287 | ||
| 288 | /* The verifier internal test flag. Behavior is undefined */ | ||
| 289 | #define BPF_F_TEST_STATE_FREQ (1U << 3) | ||
| 290 | |||
| 288 | /* When BPF ldimm64's insn[0].src_reg != 0 then this can have | 291 | /* When BPF ldimm64's insn[0].src_reg != 0 then this can have |
| 289 | * two extensions: | 292 | * two extensions: |
| 290 | * | 293 | * |