Commit c221969
linker: do not error out when there is nothing in
9958a4f allowed to perform CO-RE
against all kernel modules, but introduced a small regression where
kernels with no BTF would fail to perform CO-RE with the manually
provided types. This commit fixes the issue by skipping the modules
BTF collection if there is nothing in `/sys/kernel/btf`.
Signed-off-by: Paul Cacheux <[email protected]>/sys/kernel/btf
1 parent 3de0bd4 commit c221969
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
0 commit comments