Commit 7aa1e62
committed
add haveV4ISA probe
This commit introduces the haveV4ISA probe and HaveV4ISA API to check
in the running kernel if instructions of the v4 ISA are supported.
The upstream commit used as reference is 1f9a1ea821ff ("bpf: Support new sign-extension load insns").
The probes tests the new long jump given by `BPF_JMP32 | BPF_JA`.
Signed-off-by: Simone Magnani <[email protected]>1 parent 2eace67 commit 7aa1e62
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments