Repository navigation
Commit 3fcc553
bpf: fix build without bpf_syscall
wrap bpf_stats_enabled sysctl with #ifdef
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 492ecee ("bpf: enable program stats")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>1 parent 3bcd604 commit 3fcc553
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| 231 | + | |
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
| |||
1232 | 1234 | | |
1233 | 1235 | | |
1234 | 1236 | | |
1235 | | - | |
1236 | 1237 | | |
1237 | 1238 | | |
1238 | 1239 | | |
| |||
1242 | 1243 | | |
1243 | 1244 | | |
1244 | 1245 | | |
| 1246 | + | |
1245 | 1247 | | |
1246 | 1248 | | |
1247 | 1249 | | |
| |||
3272 | 3274 | | |
3273 | 3275 | | |
3274 | 3276 | | |
| 3277 | + | |
3275 | 3278 | | |
3276 | 3279 | | |
3277 | 3280 | | |
| |||
3293 | 3296 | | |
3294 | 3297 | | |
3295 | 3298 | | |
3296 | | - | |
| 3299 | + | |
3297 | 3300 | | |
3298 | 3301 | | |
3299 | 3302 | | |
| |||
0 commit comments