github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/bpf/probes/raw_invalidate_hash.t (about) 1 /* Tests for availability of kernel commits (4.9+): 2 * 3 * 7a4b28c6cc9f ("bpf: add helper to invalidate hash") 4 */ 5 { 6 .emits = "HAVE_SET_HASH_INVALID", 7 .type = BPF_PROG_TYPE_SCHED_CLS, 8 .insns = { 9 BPF_EMIT_CALL(BPF_FUNC_set_hash_invalid), 10 BPF_EXIT_INSN(), 11 }, 12 /* No warning required to the user. */ 13 },